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
hover:xxx
hover-class="xxx"
只在小程序生效,增加 transformer-hover,小程序 hover-class 只支持字符串,不支持 {} []。
transformer-hover
{} []
<div class="hover:bg-red hover:text-xl"/> ⬇ <div hover-class="bg-red text-xl"/> <div class="hover:bg-red" hover-class="text-xl"/> ⬇ <div hover-class="text-xl bg-red"/> <div class="hover:bg-red" :hover-class="bool ? 'text-xl' : 'text-sm'"/> ⬇ <div :hover-class="`${bool ? 'text-xl' : 'text-sm'} bg-red`"/> <div :class="[bool ? 'hover:bg-red' : 'hover:bg-blue']" :hover-class="bool ? 'text-xl' : 'text-sm'"/> ⬇ <div :hover-class="`${bool ? 'bg-red' : 'bg-blue'} ${bool ? 'text-xl' : 'text-sm'}`"/>
The text was updated successfully, but these errors were encountered:
hover-class=""
No branches or pull requests
只在小程序生效,增加
transformer-hover
,小程序 hover-class 只支持字符串,不支持{} []
。The text was updated successfully, but these errors were encountered: