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
There are also some design decisions we should think about:
Should each component get its own events? Do we really need a TextInputFocusEvent and a MultiLineTextInputFocusEvent and a NumberInputFocusEvent and ...?
Should there be a base class (in JS and/or in python) that implements this interface?
In terms of optimization, we should also avoid sending unnecessary messages between the backend and the frontend. Most TextInputs don't have a on_gain_focus or on_lose_focus event handler, and yet the backend notifies the frontend every time one of these events occurs.
The text was updated successfully, but these errors were encountered:
In terms of interface:
on_gain_focus
,on_lose_focus
on_change
on_confirm
There are also some design decisions we should think about:
TextInputFocusEvent
and aMultiLineTextInputFocusEvent
and aNumberInputFocusEvent
and ...?In terms of optimization, we should also avoid sending unnecessary messages between the backend and the frontend. Most
TextInput
s don't have aon_gain_focus
oron_lose_focus
event handler, and yet the backend notifies the frontend every time one of these events occurs.The text was updated successfully, but these errors were encountered: