Create and manage easily tutorials to show how to use your web application
Import the index.js within your javascript files
Build your own tutorial and guide your users into a new experience.
constructor(Step[], Options)
Attribute (? if can be null) | Type | Default value |
---|---|---|
element | string | HTMLElement | null |
comment | string | null |
option? | StepOptions | {} |
Attribute (? if can be null) | Type | Default value |
---|---|---|
position? | 'top' | 'left' | 'right' | 'bottom' | bottom |
fontsize? | string | 15px |
fontweight? | string | normal |
gap? | number | 10 |
Attribute (? if can be null) | Type | Default value |
---|---|---|
backgroundColor? | string | #000000 |
textColor? | string | #FFFFFF |
backgroundOpacity? | number | 0.5 |
textOpacity? | number | 1 |
nextButtonLabel? | string | Next |
previousButtonLabel? | string | Previous |
start()
Runs the tutorial