Skip to content
New issue

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

docs(tagAppendAttributes): Improve guidance for boolean attributes #427

Merged
merged 3 commits into from
Mar 19, 2024

Conversation

gadenbuie
Copy link
Member

Fixes #426

@@ -4,6 +4,8 @@

* The fill CSS attached to fillable containers and fill items with `bindFillRole()` now uses a [CSS cascade layer](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Cascade_layers) named `htmltools` to reduce the precedence order of the fill CSS. (#425)

* Improved documentation for boolean attributes in `tagAppendAttributes()` to note that they can be set via an `NA` value, e.g. `tagAppendAttributes(div(), contenteditable = NA)` creates `<div contenteditable></div>`. (thanks @russHyde, #427)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd lean towards not having a NEWS note, but since this is a small release, I don't mind either way

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also vacillated but added it because I thought it might increase the search surface area to figure out how to define boolean attributes.

@gadenbuie gadenbuie merged commit 30d13a1 into main Mar 19, 2024
14 of 15 checks passed
@gadenbuie gadenbuie deleted the docs/tag-append-named-attrs branch March 19, 2024 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document how to add an empty attribute
2 participants