vwc-icon-button-toggle 2.43.1
Install from the command line:
Learn more about npm packages
$ npm install @vonage/vwc-icon-button-toggle@2.43.1
Install via package.json:
"@vonage/vwc-icon-button-toggle": "2.43.1"
About this version
<vwc-icon-button-toggle onicon=”home” officon=”truck” layout=”outlined” shape=”circled” on></vwc-icon-button-toggle>
name | attr/prop/reflected | type | description |
---|---|---|---|
on | reflected | boolean | The state of the button |
onicon | attribute | String | A valid vivid icon name |
officon | attribute | String | A valid vivid icon name |
layout | reflected | layout/filled/ghost | |
shape | reflected | “circled”/”rounded” | |
connotation | reflected | string | Connotation valid string |
dense | reflected | boolean | |
enlarged | reflected | boolean |
name | event.detail | description |
---|---|---|
icon-button-toggle-change | {isOn: boolean} | Indicates the button has been toggled. isOn indicates the on value of the toggle button. |