0.0.2 • Published 3 years ago

@momsfriendlydevco/vue-setpath v0.0.2

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

Vue setPath

Sets a dotted notation path via Vue's $set function.

Install

import VueSetpath from '@momsfriendlydevco/vue-setpath';
Vue.use(VueSetpath);

API

PropertyTypeDefaultDescription
targetobjectvmMeta information object - used by the form editor to configure the widget
options.arrayNumericbooleantrueProcess numeric path segments as arrays
options.removeUndefinedbooleantrueThe human friendly title of the widget
options.debugbooleanfalseAlso print out debugging information when setting the value

Returns the set value, like Vue's underlying $set().