vue-functions
install
npm install vue-functions
usage & api
vfmethod...
api
updatablePropsEvenUnbound
// eg 1 mixins: vf// eg 2// if without localName, the localName will be 'localProps_' + prop name mixins: vf// eg 3// if without localName, the localName will be 'localProps_' + prop name mixins: vf
watchAsync(vm, getter, handler, opt)
Watch a function and resolve dependences. The function can contain async dependences. There is no more doc, please check source.
doWatch(vm, handler)
do handler first, handler return getter
* iterateObjectWithoutDollarDash(obj)
Like name
windowSize
Vue component, extend or mixin it to use. Get access to windowSize. The windowSize is reactive.
windowSize: innerWidth: windowinnerWidth innerHeight: windowinnerHeight outerWidth: windowouterWidth outerHeight: windowouterHeight
registerPreventURLChange(Vue, router, msg)
Attach $preventURLChange
and $allowURLChange
to vm.
hookHelper
Vue component, extend or mixin it to use. Help to extend hook.
methods: