bee-safe-anchor
锚点组件
使用方法
;//或者var SafeAnchor = ;
API
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
href | 跳转地址 | string | - |
onClick | 点击事件 | function | - |
disabled | 是否禁用 | boolean | false |
tabIndex | tab切换 | number/string | - |
componentClass | 组件元素 | string/element | a |
开发调试
$ npm install -g bee-tools$ git clone https://github.com/tinper-bee/bee-safe-anchor$ cd bee-safe-anchor$ npm install$ npm run dev