Created
February 29, 2016 11:18
-
-
Save nire0510/7597e777d1c7e692c688 to your computer and use it in GitHub Desktop.
Ember helper: bind html content value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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