You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given callback function will be called before starting a new step of introduction. The callback function receives the element of the new step as an argument.
- `steps`: For defining steps using JSON configuration (see [this](https://github.com/usablica/intro.js/blob/master/example/programmatic/index.html) example)
236
+
- `nextLabel`: Next button label
237
+
- `prevLabel`: Previous button label
238
+
- `skipLabel`: Skip button label
239
+
- `doneLabel`: Done button label
240
+
- `tooltipPosition`: Default tooltip position
241
+
- `exitOnEsc`: Exit introduction when pressing Escape button, `true` or `false`
242
+
- `exitOnOverlayClick`: Exit introduction when clicking on overlay layer, `true` or `false`
243
+
- `showStepNumbers`: Show steps number in the red circle or not, `true` of `false`
244
+
245
+
See [setOption](https://github.com/usablica/intro.js/edit/master/README.md#introjssetoptionoption-value) to see an example.
246
+
218
247
## Using with:
219
248
220
249
### Rails
@@ -234,11 +263,26 @@ Now you can run this command to minify all static resources:
234
263
235
264
236
265
## Roadmap
237
-
- Multi-page introduction
238
266
- More browser compatibility
239
-
267
+
- Provide more examples
240
268
241
269
## Release History
270
+
271
+
* **v0.4.0** - 2013-05-20
272
+
- Add multi-page introduction example
273
+
- Add programmatic introduction definition
274
+
- Cooler introduction background!
275
+
- Remove IE specific css file and embed IE support to main css file (property fallback)
276
+
- Update introduction position on window resize (Also support tablet/mobile devices rotation)
277
+
- Disable buttons on the first and start of introduction (Skip and Done button)
278
+
- Add `onbeforechange` callback
279
+
- Add `showStepNumbers` option to show/hide step numbers
280
+
- Add `exitOnEsc` and `exitOnOverlayClick` options
281
+
- Fix bad tooltip position calculating problem
282
+
- Fix a bug when using `!important` in element css properties
283
+
- Fix a bug in `onexit` behavior
284
+
- Code refactoring
285
+
242
286
* **v0.3.0** - 2013-03-28
243
287
- Adding support for CommonJS, RequireJS AMD and Browser Globals.
244
288
- Add `goToStep` function to go to specific step of introduction.
0 commit comments