Skip to content

Instantly share code, notes, and snippets.

@seanrucker
seanrucker / components.my-component.js
Last active May 9, 2016 15:27 — forked from cowboyd/components.my-component.js
Input Caret Position (single)
import Ember from 'ember';
export default Ember.Component.extend({
edited: false,
actions: {
setText(text) {
this.set('edited', true);
import Ember from 'ember';
export default Ember.Component.extend({
edited: false,
actions: {
setText(text) {
console.log('setText', text);