New issue
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
innerHTML / Binding not working #298
Comments
Try |
The innerhtml binding doesn't compile templates- docs here: http://aurelia.io/docs.html#/aurelia/framework/1.0.0-beta.1.1.1/doc/article/cheat-sheet More info on using the view-compiler here: In general you want to avoid using aurelia this way- there are often better approaches using html templating than construction your markup from strings. |
This might be a separate issue. If so, let me know. <template>
<svg innerHTML.bind="svgParts"></svg>
</template>
|
@AStoker please do open a separate issue- additional details about the version(s) of IE and a running example would be appreciated! |
@AStoker I tried to use Aurelia sintax inside an Aurelia loop context and it was not working. Is that your case? I had to change my approach to get what I wanted. Guys here says it doesnt compile Aurelia sintax inside strings. I will looking forward to your running example. Thanks! |
@hmarcelodn, no, that's not my case. I'll open a new story with an example. Edge and IE both have horrible support for SVG stuff, and my guess is the way they're loading up the html content just isn't supported by the browser. |
Hi guys,
I have an element like the one below
innerHTML.bind="filler(col, item)"
I need to be able to bind the raw HTML returned attributes. In my example I need to bind value attr. Example
How can I accomplish that?
Thanks.
The text was updated successfully, but these errors were encountered: