
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
ember-dynamic-render
Advanced tools
Allows to render a template from a string.
For example {{dynamic-render '<h1>{{model.foo}}</h1>' model}}
HTMLBars compiler must be explicitely loaded before this component is rendered. The compiler can be included in vendor.js or loaded via a script.
ember-inject-script addon.ember-template-compiler.js in afterModel of the route where the component will be rendered.import Ember from 'ember';
import injectScript from 'ember-inject-script';
export default Ember.Route.extend({
model() {
return { foo: 'bar' };
},
afterModel() {
return injectScript('//builds.emberjs.com/release/ember-template-compiler.js');
}
});
Note: this will increase the download size of your application. Consider loading script in the route.
In ember-cli-build.js add app.import('bower_components/ember/ember-template-compiler.js').
FAQs
The default blueprint for ember-cli addons.
We found that ember-dynamic-render demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.