Closed strider72 closed 6 years ago
In either Option or Symbol, how do I specify an attribute that has a hyphen in the name, e.g. "stroke-width"? Grunt itself doesn't allow hyphens, so when I try to say:
symbol: { stroke-width: '2' }
Grunt gets mad at me. Any ideas?
Got it. I can put the string in quotes, e.g. 'stroke-width': '2'
'stroke-width': '2'
In either Option or Symbol, how do I specify an attribute that has a hyphen in the name, e.g. "stroke-width"? Grunt itself doesn't allow hyphens, so when I try to say:
Grunt gets mad at me. Any ideas?