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
模态框添加自定义 class 名称的疑问
[n-modal class="modal-form" preset="card"] [n-modal class="modal-confirm" preset="card"] 当设置了 preset="card" 后添加自定义的 class 名称,不起作用,加不上,最终渲染出来的只有 [div class="n-modal n-card"],preset="dialog" 没有测试
[n-modal class="custom-modal"] [n-card class="custom-card" /] [/n-modal] 这样设置后,class 名称都能加上,最终为 [div class="n-modal n-card custom-modal custom-card"]
The text was updated successfully, but these errors were encountered:
Talljack
Successfully merging a pull request may close this issue.
This function solves the problem (这个功能解决的问题)
模态框添加自定义 class 名称的疑问
Expected API (期望的 API)
[n-modal class="modal-form" preset="card"]
[n-modal class="modal-confirm" preset="card"]
当设置了 preset="card" 后添加自定义的 class 名称,不起作用,加不上,最终渲染出来的只有 [div class="n-modal n-card"],preset="dialog" 没有测试
[n-modal class="custom-modal"]
[n-card class="custom-card" /]
[/n-modal]
这样设置后,class 名称都能加上,最终为 [div class="n-modal n-card custom-modal custom-card"]
The text was updated successfully, but these errors were encountered: