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
We currently have Attr.DynamicClass to set a CSS class when a view satisfies a given predicate. This could benefit from an Attr.DynamicClassPred variant that takes a View<bool> instead of the View<'T> and the 'T -> bool predicate.
The text was updated successfully, but these errors were encountered:
valDynamicClassPred:name:string ->isSet:View<bool>->Attr// V-enabled on `isSet`, which makes it compile into DynamicClassPredvalClassPred:name:string ->isSet:bool ->Attr
Mark the current DynamicClass as obsolete, pointing to ClassPred and DynamicClassPred as replacements.
We currently have
Attr.DynamicClass
to set a CSS class when a view satisfies a given predicate. This could benefit from anAttr.DynamicClassPred
variant that takes aView<bool>
instead of theView<'T>
and the'T -> bool
predicate.The text was updated successfully, but these errors were encountered: