Switch
Content Type: Widget
Categories: Data
Overview
Download this widget if you're looking for mobile-friendly switch/toggle elements for setting a boolean attribute in your app. Supports both iOS and Android-style switches.
Documentation
Releases
Version: 4.2.1
Framework Version: 9.6.0
Release Notes: ### Fixed
- We removed redundant code to improve widget load time in the browser.
Version: 4.2.0
Framework Version: 9.6.0
Release Notes: ### Changed
- We updated page explorer's caption to display datasource.
- We updated the light and dark icons and tiles for the widget.
Version: 4.1.0
Framework Version: 9.6.0
Release Notes: ### Added
- We added dark mode to Structure mode preview.
- We added dark icons for Tile and List view.
Version: 4.0.0
Framework Version: 9.6.0
Release Notes: ### Added
- We added a toolbox category and toolbox tile image for Studio & Studio Pro.
Version: 3.0.0
Framework Version: 9.0.5
Release Notes: Added:
- Add `Brand Secondary` `Style` design-property option.
- Add `aria-readonly` for improved accessibility.
Changed:
- Use `div` instead of `small` for improved semantics.
- Convert `Style` and `Device style` properties to design-properties.
- Label property converted to system property and moved to common tab.
- Editability property converted to system property and moved to common tab.
Removed:
- Removed `input` element.
- Removed `info` and `inverse` `Style` property options.
- Removed label width property.