In Angular, if we want to bind a property from outside for a custom component, we have to use @Input to kind of allow that property to be set from outside (i.e. from consuming component template)
Does EmberJS also have some sort of similar mechanism OR does it allow binding directly from the template (hbs) without adding/marking anything in the component JS? Is there any difference when it comes to Ember Octane V/s the earlier versions of Ember?
Aucun commentaire:
Enregistrer un commentaire