https://github.com/dutchcoders/angular-tour
Angular tour based on Introjs
https://github.com/dutchcoders/angular-tour
Last synced: 4 months ago
JSON representation
Angular tour based on Introjs
- Host: GitHub
- URL: https://github.com/dutchcoders/angular-tour
- Owner: dutchcoders
- Created: 2014-04-07T10:34:08.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-10T21:28:36.000Z (about 11 years ago)
- Last Synced: 2024-12-27T09:12:42.298Z (6 months ago)
- Language: CSS
- Size: 176 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
angular-tour
============Angular tour based on Introjs.
[Demo](http://dutchcoders.github.io/angular-tour)
```
var app = angular.module('app', ['duco.tour']);app.controller('TourController', ['$rootScope', '$tour', function($rootScope, $tour) {
tour = {
skipLabel: 'Skip',
doneLabel: 'Done',
previousLabel: 'Previous',
nextLabel: 'Next',
showStepNumbers:false,
scope: $scope,
steps:[
{
element: 'a.step1',
intro: "Step 1Step 1 intro.
",
},
{
element: 'a.step2',
intro: "Step 2Step 2 intro.
",
},
{
element: 'a.step3',
intro: "Step 3Step 3 intro.
",
position: 'right'
}]
}$tour.open(tour);
}]);
```