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
写组件的时候,经常需要动态改变字体大小、宽度、高度等,在 jsx 内写的px单位不会被转化为rem或rpx。我觉得Taro需要提供一个函数Taro.pxTransform 函数,来方便我们进行单位转化。
The text was updated successfully, but these errors were encountered:
@jimczj 非常棒~ 这个后续加入
Sorry, something went wrong.
cae84f3
feat(taro): 增加 Taro.pxTransform API 用于处理行内样式中单位转换,close NervJS#388
077a5fd
No branches or pull requests
写组件的时候,经常需要动态改变字体大小、宽度、高度等,在 jsx 内写的px单位不会被转化为rem或rpx。我觉得Taro需要提供一个函数Taro.pxTransform 函数,来方便我们进行单位转化。
The text was updated successfully, but these errors were encountered: