Add addClass
and removeClass
methods to the block to deal with CSS classes
#8270
Labels
good first issue
help wanted
External contributions actively solicited
issue: feature request
Describes a new feature and why it should be added
Milestone
To Fix
addClass
method to the BlockSvg class, that takes in a passed string, and callsdom.addClass
with thethis.svgGroup_
to add it as a CSS class on the block.removeClass
method to the BlockSvg class, that takes in a passed string, and callsdom.removeClassClass
with thethis.svgGroup_
.dom.addClass
withthis.svgGroup_
to callthis.addClass
instead.dom.removeClass
withthis.svgGroup_
to callthis.removeClass
instead.The PR to fix this should be made against the
rc/v12.0.0
branch.To work on this issue, please comment below asking to be assigned.
The text was updated successfully, but these errors were encountered: