Skip to content

Instantly share code, notes, and snippets.

View lstrrs's full-sized avatar

Luis Torres lstrrs

View GitHub Profile
import Ember from 'ember';
export default Ember.Component.extend({
shareText: '',
word: '',
actions: {
onShareEditorValueChanged(shareEditorValue) {
this.set('shareText', shareEditorValue);
@lstrrs
lstrrs / application.controller.js
Last active October 19, 2017 01:18 — forked from Serabe/application.controller.js
Simple dynamic component
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle',
});
import Ember from 'ember';
export default Ember.Component.extend({
classNames: 'x-input',
tagName: 'p',
attributeBindings: ['dataFieldName:data-field-name'],
dataFieldName: Ember.computed('label', function() {
import Ember from 'ember';
import hexColor from '../utils/hex-color';
const {
Controller,
computed
} = Ember;
export default Controller.extend({
/**