Commit Graph

3 Commits

Author SHA1 Message Date
netcon
93e50e147b
fix: can not binding multiple click-outside directives on a component (#2327)
* fix: can not binding multiple click-outside directives on a component

* test: add test for multiple click-outside directives
2021-06-25 17:10:29 +08:00
BelinChung
0bb128315b
feat(click-outside): return mousedown event (#2038)
* feat(click-outside):  return mousedown event

Return mousedown event for binding function.

* feat(click-outside): expose both mouseup and mousedown event

* feat(directives): add test cases for click-outside

* feat(directives):  clear the previously assigned event object
2021-05-24 17:29:19 +08:00
jeremywu
0d811ad714
feat(directives): v-trap-focus (#221)
* feat(directives): [WIP] v-trap-focus

#218

* feat(directives): new directive `v-trap-focus`

* feat(directives): - Address PR comments

* fix: fix typo
2020-09-02 10:26:32 +08:00