1.1.0 • Published 4 years ago

@mintjamsinc/vue-hook v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

vue-hook

A reusable hook directive for Vue.js 2.x.

Installation

npm install --save-dev @mintjamsinc/vue-hook

Usage

import VueHook from '@mintjamsinc/vue-hook';
Vue.use(VueHook);
<div v-hook="{bind: onBind, inserted: onInserted, update: onUpdate, componentUpdated: onComponentUpdated, unbind: onUnbind}">
</div>
export default {
  methods: {
    onBind() {},
    onInserted() {},
    onUpdate() {},
    onComponentUpdated() {},
    onUnbind() {},
  },
}

License

MIT

Copyright (c) 2021 MintJams Inc.

1.1.0

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago