@uyun/ec-everest
Everest component from everest-components
Last updated 7 years ago by shenting .
UNLICENSED · Repository · Bugs ·
$ cnpm install @uyun/ec-everest 
Private package

category: Components type: Demo title: Everest subtitle: 示例

组件文档参考示例。

按钮用于进行一个即时操作。

何时使用

标记了一个操作命令,响应用户点击行为,触发相应的业务逻辑。

API

通过设置 Component 的属性来产生不同的按钮样式,推荐顺序为:type -> size -> disabled

按钮的属性说明如下:

属性 说明 类型 默认值
type 设置按钮类型,可选值为 primary danger 或者不设 string -
size 设置按钮大小,可选值为 small large 或者不设 string default
onClick click 事件的 handler function -
<style> [id^="components-everest-demo-"] .uyun-btn { margin-right: 8px; margin-bottom: 12px; } </style>

Current Tags

  • 0.0.9                                ...           latest (6 years ago)

6 Versions

  • 0.0.4                                ...           8 years ago
  • 0.0.5                                ...           8 years ago
  • 0.0.6                                ...           8 years ago
  • 0.0.7                                ...           7 years ago
  • 0.0.8                                ...           7 years ago
  • 0.0.9                                ...           6 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org