Skip to content

Set attributes#46

Open
eelcoj wants to merge 3 commits intomainfrom
set-attributes
Open

Set attributes#46
eelcoj wants to merge 3 commits intomainfrom
set-attributes

Conversation

@eelcoj
Copy link
Contributor

@eelcoj eelcoj commented Mar 12, 2026

Add set method to class, attribute and data-attribute actions

Adds a set method to some classes that completely replaces existing values rather than adding to them.

  • data-action="setClass#bg-red-500
  • data-action="setAttribute#hidden
  • data-action="setDataAttribute#controller=reload

Adds a `set` method to all action classes that completely replaces existing values rather than adding to them.

`data-action="setClass#bg-red-500`
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.

1 participant