0.0.4 • Published 7 years ago
bee-safe-anchor v0.0.4
bee-safe-anchor
锚点组件
使用方法
import SafeAnchor from 'bee-safe-anchor';
//或者
var SafeAnchor = require('bee-safe-anchor');
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