Skip to content

Toggle Basic

Darren Lean edited this page Jul 2, 2020 · 1 revision

Basic Toggle

The iv-toggle-basic is a button that allows users to switch between two modes.
It is possible to disable the toggle.

Usage

Toggle Basic Toggle Basic Toggle Basic

API

Note: This component is in ToggleBasic.vue

Props

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

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

Events

Name: toggleswitched
Description: Emitted when the toggle is clicked
Value: toggleMode

Clone this wiki locally