Skip to content

Releases: ColtHands/Vue-Click-Outside-Element

3.1.2

23 Nov 19:34
Compare
Choose a tag to compare

Added typings to packge.json

3.1.0

05 Nov 21:14
0e638f3
Compare
Choose a tag to compare

Adding Vite instead of webpack

  • Adding build with Vite instead of webpack in addition to already existing dev server
  • Removing one of two examples
  • Re-doing clickOutside fn, to take this instead of relying on element.clickOutside to be there.
  • Removing webpack and other unused files and deps

Vue 3 Release vue-click-outside-element@3.0.0

16 Oct 14:29
Compare
Choose a tag to compare

Key changes from Vue 2 to Vue 3

  • New directive hook methods bind -> beforeMount | unbind -> beforeUnmount` (official docs have unbind -> unmounted)
  • New and better types
  • More guards with instanceof
  • Throws Error if you haven't provided a function
  • Better tests:
    • Lifecycle methods tested
    • addEventListener and removeEventListener binds

Also with that there is a clear Roadmap

  • To have v-click-outside.element and v-click-outside.component modificators
  • Considering adding VTL and Vitest tests