I'm using emberjs and I would like to achieve a one way binding on some properties in my component.
Is there any way to set directly to a property to be one way binding in a component without creating a new property of that?
For example:
export default Ember.Component.extend({
name: null,
_name: Ember.computed.oneWay('name')
});
Aucun commentaire:
Enregistrer un commentaire