roving-ux icon indicating copy to clipboard operation
roving-ux copied to clipboard

Feature: API to set the current element programatically

Open argyleink opened this issue 3 years ago • 0 comments

If the keyboard / roving-ux didnt change the focus, how can this library get the update so it's state can match the new state. could just be exporting active() for users to call themselves? Would also be nice to not have focus called too, so an extra parameter would be nice.

todo:

  • [ ] decide on an api function to export
  • [ ] add the extra parameter whether or not focus should be called, can default to todays behavior
  • [ ] add a test or 2
  • [ ] update the docs

argyleink avatar Jul 01 '22 18:07 argyleink