Skip to content

Instantly share code, notes, and snippets.

View yohanmishkin's full-sized avatar

yohanmishkin yohanmishkin

View GitHub Profile
import Ember from 'ember';
import { task } from 'ember-concurrency';
import { computed } from '@ember/object';
export default Ember.Controller.extend({
items: computed('model', function() {
return this.get('model');
}),
doThis: task(function*(item) {
@yohanmishkin
yohanmishkin / application.controller.js
Last active September 21, 2018 16:39 — forked from kybishop/application.controller.js
bug on inputs for query params
import Ember from 'ember';
export default Ember.Controller.extend({
queryParams: ['myValue'],
myValue: 1.2,
actions: {
updateValue(value) {
console.log(arguments);