Ember-addon-ui-controls
Installation
ember install ember-addon-ui-controls
ember install @fourth/ember-addon-cordova-service
or add them to the package.json and run npm install
Example usage
{{#ember-addon-logoff-button}}
message="message"
logOff=(action "logOff")
{{/ember-addon-logoff-button}}
To use the add-on you will need the Cordova service from @fourth/ember-addon-cordova-service
and an implementation of the logOff function
Example logOff function
logOff() {
this.get('cordovaService').logoff(this.get('url'));
}