{{#each}}
loop, especially with syntax highlight.app/component-managers
directory:addon/component-managers
directory and re-exporting it from app/component-managers
(for a similar example, please review the conventions for defining and exporting addon components).setComponentManager
util as follows:ember-basic-component
addon in this example, will be able to reuse and extend that component just like any other classic component:sendAction
(1 of 2)sendAction
. With sendAction
the developer passes the name of an action, and when sendAction
is called Ember.js would look up that action in the parent context and invoke it if present. This had a handful of caveats:sendAction
you cannot receive the return value of the invoked action.yarn
run:npm
run:TemplateLint
test file for each of your templates to your test suite automatically to be run via ember test
.npm run lint:hbs
or yarn run lint:hbs
respectively to run the linter.4th Grade
|