-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
typescript hates me, and it doesn't seem to be used anywhere
- Loading branch information
Showing
7 changed files
with
22 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { VueConstructor, DirectiveOptions } from 'vue/types' | ||
import ClickOutside from './click-outside' | ||
import Resize from './resize' | ||
import Ripple from './ripple' | ||
import Scroll from './scroll' | ||
import Touch from './touch' | ||
|
||
export { | ||
ClickOutside, | ||
Ripple, | ||
Resize, | ||
Scroll, | ||
Touch | ||
} | ||
|
||
export default function install (Vue: VueConstructor) { | ||
Vue.directive('click-outside', ClickOutside as any as DirectiveOptions) | ||
Vue.directive('ripple', Ripple as any as DirectiveOptions) | ||
Vue.directive('resize', Resize as any as DirectiveOptions) | ||
Vue.directive('scroll', Scroll as any as DirectiveOptions) | ||
Vue.directive('touch', Touch as any as DirectiveOptions) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,6 @@ function unbind (el: ResizeHTMLElement) { | |
} | ||
|
||
export default { | ||
name: 'resize', | ||
inserted, | ||
unbind | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,6 @@ function unbind (el: ScrollHTMLElement) { | |
} | ||
|
||
export default { | ||
name: 'scroll', | ||
inserted, | ||
unbind | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters