Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

v0.5.0

Compare
Choose a tag to compare
@Jinjiang Jinjiang released this 15 Nov 06:23

new experimental <VueFocusTrap>

Changes:

  • removed disabled prop because the trap should be globally unique
  • added open(), replace(), close(returnFocus: boolean) methods
  • added open(lastFocus: HTMLElement | void) event

Full API:

  • methods: open(), replace(), close(returnFocus: boolean)
  • events: open(lastFocus: HTMLElement | void), gofirst(), golast()
  • slots: default slot

The docs will be added later when it's stable enough.