Skip to content

Instantly share code, notes, and snippets.

View teejayhh's full-sized avatar

Thomas Juergens teejayhh

  • Blake Education
  • Sydney
View GitHub Profile
import Component from '@ember/component';
import { computed, set } from '@ember/object';
export default Component.extend({
currentDateInternal: null,
currentTimeInternal: null,
init(...args) {
this._super(...args)
if (!this.currentTime) set(this, 'currentTime', moment().format('hh:mm:ss'))
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
var test1 = { prop1: 1 };
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
prop: 0,
});
@teejayhh
teejayhh / components.my-select.js
Last active January 30, 2018 22:41
Select test v2
import Ember from 'ember';
export default Ember.Component.extend({
focusIn: function() {
console.log('in');
},
focusOut: function() {
console.log('out t');
}
});