WeaToolIntro
Based the introjs, a user experience boot. Demo
Guide
CDN
NPM
npm install --save wea-tool-intro
;
Usage
var myWeaToolIntro = element: "#step1" intro: "<h6>步骤一</h6>天青色等烟雨,而我在等你,岁月被打捞起,掩盖了结局。" position: "right" { console; } ...;myWeaToolIntrostart;
Parameter
Name | Type | Descript |
---|---|---|
element | String | 步骤区块的 id |
intro | String | 步骤区块的描述文本 |
position | String | 步骤区块的显示位置 |
event | Function | 当前步骤切换时触发的事件 |