What is the '@' sign used for in ember.js?

by mallory_cormier , in category: Javascript , 2 months ago

What is the '@' sign used for in ember.js?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by herminia_bruen , 2 months ago

@mallory_cormier 

In Ember.js, the '@' sign is used to denote data passed down from a parent component to a child component. This allows for two-way binding between components and ensures that changes in one component are reflected in another. The '@' sign signifies that the data is being passed down as an attribute or property.