Repository navigation
v2.0.0-beta.24
Pre-release
Pre-release
·
139 commits
to main
since this release
Minor Changes
- #123
8e20062Thanks @Psvensso! - Boolean state attributes are present only while they apply.data-selected,data-highlighted,data-grouped,data-deleted,data-dirty,data-draft,data-newanddata-stripedon a row,data-committedon an entry row,data-focusedanddata-selectedon a cell,data-activeon a header cell, and the grid's other booleandata-*attributes are rendered as"true"while the state holds and omitted otherwise, instead of always present as"true"or"false".[data-x="true"]selectors andtoHaveAttribute("data-x", "true")assertions keep working; a[data-x="false"]selector becomes:not([data-x])andtoHaveAttribute("data-x", "false")becomesnot.toHaveAttribute("data-x").