computed
v0.0.1
Published
ES7 decorator for computed properties
Downloads
42
Maintainers
Readme
Computed
Ember like computed property with ES7 decorator for JavaScript classes
import computed from 'computed';
class Ygritte {
name = 'Jon Snow';
@computed('name')
get talk() {
return `You know nothing ${this.name}`;
}
}
const ygritte = new Ygritte();
ygritte.talk === 'You know nothing Jon Snow';