Skip to content

Instantly share code, notes, and snippets.

@nire0510
Created February 29, 2016 11:18
Show Gist options
  • Save nire0510/7597e777d1c7e692c688 to your computer and use it in GitHub Desktop.
Save nire0510/7597e777d1c7e692c688 to your computer and use it in GitHub Desktop.
Ember helper: bind html content value
import Ember from 'ember';
export function bindHtml(params/*, hash*/) {
return Ember.String.htmlSafe(params[0]);
}
export default Ember.Helper.helper(bindHtml);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment