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
fill
// 正常的写法 => <path fill="#fff" ... /> .attr('fill', 'red') => <path style="fill: #fff;" ... /> // 另一种写法 .style('fill', 'red')
两种都是有效的,上面的链接中提到 This will override a presentation attribute <path fill="#fff" ... /> This will not override an inline style e.g. <path style="fill: #fff;" ... /> 不是很明白这里什么意思
两种都是有效的,上面的链接中提到
This will override a presentation attribute <path fill="#fff" ... />
This will not override an inline style e.g. <path style="fill: #fff;" ... /> 不是很明白这里什么意思
This will not override an inline style e.g. <path style="fill: #fff;" ... />
The text was updated successfully, but these errors were encountered:
No branches or pull requests
fill
The text was updated successfully, but these errors were encountered: