Skip to content

Tickbox

FreyaXH edited this page Jul 17, 2020 · 1 revision

The iv-tickbox is a basic checkbox component and can be disabled by setting the prop "disble" to true.

Image from Gyazo

Image from Gyazo

To include this component, use the self-closing tag <iv-tickbox/> in your html.

API

Props

Name: initialMode
Type: Boolean
Default: true
Description: Setting the initial checkbox boolean

Name: toggleDisabled
Type: Boolean
Default: false
Description: Disable the checkbox

Events

Events Name: checked
Description: Emitted when the checkbox is checked

Events Name: unchecked
Description: Emitted when the checkbox is unchecked

Clone this wiki locally