Skip to content

Instantly share code, notes, and snippets.

View benedikt-buchert's full-sized avatar
👋

Benedikt Buchert benedikt-buchert

👋
  • Mohr & Stade Gmbh
  • Germany
View GitHub Profile
import Component from "@glimmer/component";
import { tracked } from "@glimmer/tracking";
import { action } from "@ember/object";
export default class CounterComponent extends Component {
@tracked count = 0;
get total() {
return this.count * this.args.multiple;
}
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});