File tree 3 files changed +12
-2
lines changed
3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,16 @@ And the Bootstrap Tour CSS (or create your own):
32
32
Then add the module to your app:
33
33
34
34
angular.module('myApp', ['bm.bsTour']);
35
+
36
+ ## Configuration
37
+
38
+ The TourConfigProvider allows you to set a couple options:
39
+ - `prefixOptions` {boolean, default: false} if set to true will require directive options to be prefixed to avoid conflicts
40
+ - `prefix` {string, default: 'bsTour'} the prefix to use if `prefixOptions` is set to `true`
41
+
42
+ Use `TourConfigProvider.set(<option>, <value>)` in your app's config block to change the settings
43
+
44
+ You can use either `tour` and `tourStep` or `bsTour` and `bsTourStep` as directive names without changing config.
35
45
36
46
## Examples
37
47
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " angular-bootstrap-tour" ,
3
- "version" : " 0.2.1 " ,
3
+ "version" : " 0.3.0 " ,
4
4
"main" : " dist/angular-bootstrap-tour.js" ,
5
5
"ignore" : [
6
6
" .editorconfig" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " angular-bootstrap-tour" ,
3
- "version" : " 0.2.1 " ,
3
+ "version" : " 0.3.0 " ,
4
4
"description" : " angular-bootstrap-tour scaffolded with generator-microjs v0.1.2." ,
5
5
"author" : {
6
6
"name" : " " ,
You can’t perform that action at this time.
0 commit comments