guideline-tip-id
v1.6.0
Published
A simple guideline ui or coach mark ui with javascript
Downloads
580
Maintainers
Readme
Guideline Tip Id
Simple guideline tip, JavaScript coach mark.
Installation
npm
npm i guideline-tip-idyarn
yarn add guideline-tip-idpnpm
pnmp i guideline-tip-idArgs function init
| No | Value | Type | Default | Description |
| -- | ----------------- | ------------ | ------- | ------------------------------------------------- |
| 1 | dataGuideline | Array<{ }> | [] | For the data list that will be given instructions |
| 2 | withPadding | boolean | false | padding from guidelines |
| 3 | opacityBackdrop | number | 0.6 | for opacity from backdrop |
Object of dataGuideline
| No | Value | Type | Default | Description |
| -- | ------------- | ---------------------------------------- | ------- | ------------------------------ |
| 1 | dataID | string | "" | id of element html |
| 2 | positionTip | "left" \| "right" \| "top" \| "bottom" | "" | the position of the guidelines |
| 3 | content | any | "" | content from guidelines |
Demo
Vue - on version guideline >= 1.2.1
Note
For Vue it only supports >= vue 3, and only supports guideline-tip-id with version >= 1.2.1.
