The Toggle Component is an on/off switch that can be used for a true/false variable in your app.
Attaching Data to Form Components
When making your app function, most of the time you will be using
ng-modelto attach some data to a form related component. Check out our ng-model documentation or Working with Form Data tutorial to learn more.
Title controls the text that appears to the left of the toggle.
Name controls the HTML
name attribute for the input.
Style sets the Theme Color that will be used to style the toggle when it is on.
Checked sets the default checked state of the Toggle. It is recommended that you do not use this with
Classes lets you freeform add CSS classes that will be placed on this component.
Angular Directives lets you add Directives to the component.
Convert to HTML let's you turn this component into an HTML component so you can edit it to your hearts content.
If you're looking to attach an input to data here are some tutorials that will help lead you in the right direction:
Updated less than a minute ago