Browse Source

add click handlers to <app-links> for up and down hotkeys

main
familyfriendlymikey 2 years ago
parent
commit
1b9cab0a23
  1. 2
      app/components/app-links.imba

2
app/components/app-links.imba

@ -65,6 +65,7 @@ tag app-links
result.push temp result.push temp
temp = { temp = {
click_handler: api.increment_link_selection_index.bind(api)
hotkey_handler: api.increment_link_selection_index.bind(api) hotkey_handler: api.increment_link_selection_index.bind(api)
hotkey: 'down' hotkey: 'down'
hotkey_display_name: "Down Arrow" hotkey_display_name: "Down Arrow"
@ -73,6 +74,7 @@ tag app-links
result.push temp result.push temp
temp = { temp = {
click_handler: api.decrement_link_selection_index.bind(api)
hotkey_handler: api.decrement_link_selection_index.bind(api) hotkey_handler: api.decrement_link_selection_index.bind(api)
hotkey: 'up' hotkey: 'up'
hotkey_display_name: "Up Arrow" hotkey_display_name: "Up Arrow"

Loading…
Cancel
Save