newer-guide
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

安装

npm i newer-guide

使用

初始化

import { NewerGuide } from 'newer-guide'

/**
 * elList,需要引导的 元素 选择器列表,必填
 * rgba = 'rgba(0, 0, 0, 0.5)'; 遮罩层的背景颜色
 * maskClass = 'mask-el'; 遮罩层的class
    zIndex = 1000; 遮罩层的 zIndex
 */
const guide = new NewerGuide({ elList: ['button', '.sd'] })

开始引导

guide.step()

Readme

Keywords

none

Package Sidebar

Install

npm i newer-guide

Weekly Downloads

9

Version

0.0.1

License

ISC

Unpacked Size

114 kB

Total Files

16

Last publish

Collaborators

  • ma125120