You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice to be able to use similar pattern with other types of keys, but there's a challenge with styles – they use constants like display.none, the existing cls syntax doesn't have an equivalent in this case.
In this scenario I would expect that when active emits false the aria-current should be removed from the element. Setting an empty/default value would also be appropriate.
In line with #89...
Currently we can toggle only composite attributes like
cls
:Would be nice to be able to use similar pattern with other types of keys, but there's a challenge with styles – they use constants like
display.none
, the existingcls
syntax doesn't have an equivalent in this case.Maybe we should change it to be a postfix:
Same question as in #89 regarding using default value vs prior value:
when(false)
do nothing, or set an "empty" / "default" value?when <-- $bool
emits false, what should happen then?The text was updated successfully, but these errors were encountered: