-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
<button disabled={disabled}>...</button>
<button {disabled}>...</button>This takes a whole syntax away that we could otherwise use for modifiers/directives.
To attach behavior to an element, we'd want to do something like:
<input {autofocus disabled=!@isVisible}>where autofocus is an element modifier, which wires up some light sogic for when to focus the element example implementation here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels