Skip to content

Instantly share code, notes, and snippets.

View patsy-issa's full-sized avatar
👀

Patsy Issa patsy-issa

👀
View GitHub Profile
import Controller from '@ember/controller';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
}
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
thing: 2,
actions: {
doThings() {
this.set('thing', 1);
import Ember from 'ember';
export default Ember.Component.extend({
counter: 1
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
potato: 1,
actions: {
incrementPotato() {
this.incrementProperty('potato');