@momsfriendlydevco/vue-setpath
v0.0.2
Published
Sets a dotted notation path via Vue's `$set` function.
Downloads
1
Keywords
Readme
Vue setPath
Sets a dotted notation path via Vue's $set
function.
Install
import VueSetpath from '@momsfriendlydevco/vue-setpath';
Vue.use(VueSetpath);
API
| Property | Type | Default | Description |
|--------------------|------------------------|-----------------------------|--------------------------------------------------------------------------------------------|
| target
| object
| vm
| Meta information object - used by the form editor to configure the widget |
| options.arrayNumeric
| boolean
| true
| Process numeric path segments as arrays |
| options.removeUndefined
| boolean
| true
| The human friendly title of the widget |
| options.debug
| boolean
| false
| Also print out debugging information when setting the value |
Returns the set value, like Vue's underlying $set()
.