Closed egoist closed 5 years ago
Hi, I think we should provide these two options.
style=""
class=""
style-override=""
class-override=""
And set -override
options to override class
and style
props too.
What do you think?
Now they're merged, just like a regular Vue component.
Currently when you set
style
orclass
attribute on the imported svg component, it will override the existing ones on the original svg element viaObject.assign
, willmerge
be better thanassign
for such attributes?