vue-skip-to icon indicating copy to clipboard operation
vue-skip-to copied to clipboard

feat: Support non-ID query selector

Open shwilliam opened this issue 4 years ago • 0 comments

These changes enable support for using <vue-skip-to> to target elements with non-ID selectors. If the to prop passed does not start with a '#', a button will be rendered with a click-handler that will focus the first DOM element that matches the selector.

Before merging, this would need work on:

  • [ ] handling compound selectors that start with an ID (eg. '#main.first-paragraph')
  • [ ] styling the skip-link button

shwilliam avatar Jun 19 '20 21:06 shwilliam