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
SVG elements class name is readOnly so the only way to set it is to use svgEl.setAttribute( "class", "..." );
This means that this: <svg class="{{#if cond}}liveBoundClassName{{/if}}"></svg> does not work.
The text was updated successfully, but these errors were encountered:
fix is to probably sniff out if the element is SVG and change how you set the value.
Basically class here: https://github.com/bitovi/canjs/blob/master/util/attr/attr.js#L41
class
Should be changed to do setting with a function more like:
https://github.com/bitovi/canjs/blob/master/util/attr/attr.js#L50
Sorry, something went wrong.
Added a setter for class attr to handle elements where className cann…
88dafd3
…ot be written to like `svg`. Resolves #2015
3be0128
ea6270b
4066f67
Alfredo-Delgado
No branches or pull requests
SVG elements class name is readOnly so the only way to set it is to use
svgEl.setAttribute( "class", "..." );
This means that this:
<svg class="{{#if cond}}liveBoundClassName{{/if}}"></svg>
does not work.
The text was updated successfully, but these errors were encountered: