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
Imagine you have several lists, each one with an "Add Item" button. You want a hotkey for each list to trigger the addItem() method. The problem is, hotkeys are global, so which list would have an item added to it?
This could be solved by the ability to define "regions". If any child elements within a region have focus, the hotkey will be localized. So in our list example, only when a list has focus would the hotkey create a new item for that specific list.
Imagine you have several lists, each one with an "Add Item" button. You want a hotkey for each list to trigger the
addItem()
method. The problem is, hotkeys are global, so which list would have an item added to it?This could be solved by the ability to define "regions". If any child elements within a region have focus, the hotkey will be localized. So in our list example, only when a list has focus would the hotkey create a new item for that specific list.
Consider this an extremely rough proposal. Naming conventions, syntax and implementation are all just for demonstration purposes.
The text was updated successfully, but these errors were encountered: