We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why I can't use javascript core functions like String.fromCharCode directly inside double-mustache?
String.fromCharCode
The text was updated successfully, but these errors were encountered:
Polymer currently only supports using inline functions defined on the element prototype, for simplicity.
Marking this as an enhancement request for now. In the meantime, you can do
{{fromCharCode(foo)}}
and
fromCharCode: function(val) { return String.fromCharCode(val); }
If you'd like to use that in a lot of elements, you can define fromCharCode in a behavior that is shared among multiple elements.
fromCharCode
Sorry, something went wrong.
Thanks... It would be great if this enhancement is implemented in future release.
No branches or pull requests
Why I can't use javascript core functions like
String.fromCharCode
directly inside double-mustache?The text was updated successfully, but these errors were encountered: