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
组件初始化svg 的width为100%,未根据内容自适应宽度,导致显示不全。需要增加一个width属性,支持传入宽度指定容器宽度,支持参数 'default' | 'auto' | number。默认为100% 如果传入auto则在遍历每一项取上一次和这一次其中的较大宽度。结束将宽度赋予给容器绘制。传入number则设置为具体数值。
width: 'default' | 'auto' | number
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What problem does this feature solve
组件初始化svg 的width为100%,未根据内容自适应宽度,导致显示不全。需要增加一个width属性,支持传入宽度指定容器宽度,支持参数 'default' | 'auto' | number。默认为100% 如果传入auto则在遍历每一项取上一次和这一次其中的较大宽度。结束将宽度赋予给容器绘制。传入number则设置为具体数值。
What does the proposed API look like
width: 'default' | 'auto' | number
The text was updated successfully, but these errors were encountered: