Templates.helpers.mount()

mountpublic

Defined in packages/ember-htmlbars/lib/keywords/mount.js:13

The {{mount}} helper lets you embed a routeless engine in a template.

Mounting an engine will cause an instance to be booted and its application template to be rendered.

For example, the following template mounts the ember-chat engine:

{{! application.hbs }}
{{mount "ember-chat"}}

Currently, the engine name is the only argument that can be passed to {{mount}}.

doc_EmberJs
2016-11-30 16:53:35
Comments
Leave a Comment

Please login to continue.