@belleui/belle-switch
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-alpha.2 • Public • Published

@belleui/belle-switch

Downloads per month NPM Version TypeScript Published on webcomponents.org

Preview

screent shot

Install

npm install @belleui/belle-switch

Useage

<belle-switch>Switch</belle-switch>
<belle-switch disabled>Disabled</belle-switch>
<belle-switch checked>Checked</belle-switch>

Properties

Property Attribute Type Default Description
checked checked boolean false 默认是否选中
disabled disabled boolean false 是否禁用

Methods

Method Type
handleChange (): void

Events

Event Type
change CustomEvent<{ checked: boolean; }>

Readme

Keywords

Package Sidebar

Install

npm i @belleui/belle-switch

Weekly Downloads

2

Version

0.0.1-alpha.2

License

MIT

Unpacked Size

8.79 kB

Total Files

8

Last publish

Collaborators

  • simonwu