ember-ion
Highly Unstable at this moment. Please don't use
Configuration
Set in environment.js
Theme Settings
To set the theme from IOS, Material Design (Android) or Windows Phone. Use one of 'ios', 'md' or 'wp'
ion: {
theme:'ios'; // ios; md; wp;
}
Usage
{{ion-toggle}}
Toggle Switch, it will return true or false.
required
checked Checked Toggle value, true
or false
optional
accent What color or accent of the toggle is used
following accents are supoorted
- danger
- secondary
optional
action It will run the action provided to component. By default only 1 parameter will be passed but if name is also provided, it will be sent as second argument
optional
name It is only used to return value back to callback function