Skip to content

Instantly share code, notes, and snippets.

import Ember from 'ember';
const { get, set, computed } = Ember;
export default Ember.Controller.extend({
isButtonOn: false,
// begin edit area
toggle () {
var bool = this.isButtonOn ? false: true;
this.set('isButtonOn', bool);