Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

airframe-rx: Support add/overwrite DOM attributes #961

Closed
xerial opened this issue Mar 5, 2020 · 0 comments · Fixed by #976
Closed

airframe-rx: Support add/overwrite DOM attributes #961

xerial opened this issue Mar 5, 2020 · 0 comments · Fixed by #976
Milestone

Comments

@xerial
Copy link
Member

xerial commented Mar 5, 2020

val e = div(cls -> "btn-primary')

e.add(cls -> "btn-sm")     // <div class="btn-primary btn-sm">...</div>
e.set(cls -> "btn-secondary")     // <div class="btn-secondary">...</div>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant