Old Guides - You are viewing the guides for
Ember
v3.27.0.
In Ember, rendering occurs via syntax, rather than by value -- so anything can be a modifier, helper, or component.
Modifiers
For Modifiers, there is a specific syntax that only modifiers may reside in
<div >
or via property on some object
<div >
or via an argument passed to a component
<div >
Modifiers can be curried with the modifier
helper:
<Example as |theModifier|>
<div >
</Example>
Helpers
For Helpers, there is a specific syntax that only helpers may reside in
or nested in a sub-expression
or via property on some object
or via an argument passed to a component
Helpers can be curried with the helper
helper:
<Example as |theHelper|>
</Example>
Components
For Components, there is a specific syntax that only components may reside in
<AComponent />
or via a property on some object
<this.someComponent />
or via an argument passed to a component
<@someComponent />
Components can be curried with the component
helper:
<Example as |theComponent|>
<theComponent />
</Example>