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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is sort of a nasty hack, but here's a component that allows for reacting to property changes while we wait on #112: (SlintPad demo)
I chose
string
since it's pretty easy to cast most types to a string:string
is already a stringint
andfloat
are implicitly castable to stringsduration
,length
, etc.) can be divided by a constant to convert them to afloat
, which is implicitly castable to a stringIf those don't work, you can use a different type as long as it supports equality checks.
Beta Was this translation helpful? Give feedback.
All reactions