attrs 默认小驼峰形式属性名会转成 kebabCase #1978
-
attrs 默认小驼峰形式属性名会转成 kebabCase,怎么取消转换呢,比如想设置 viewBox |
Beta Was this translation helpful? Give feedback.
Answered by
NewByVector
Apr 11, 2022
Replies: 2 comments 1 reply
-
viewBox 已经有特殊处理了 https://github.com/antvis/X6/blob/master/packages/x6/src/view/attr.ts#L587 |
Beta Was this translation helpful? Give feedback.
1 reply
-
这里是一个 bug,已经提 issue |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ghs2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这里是一个 bug,已经提 issue