@momsfriendlydevco/vue-setpath

0.0.2 • Public • Published

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().

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @momsfriendlydevco/vue-setpath

      Weekly Downloads

      1

      Version

      0.0.2

      License

      MIT

      Unpacked Size

      5.56 kB

      Total Files

      4

      Last publish

      Collaborators

      • hash-bang
      • 1watt
      • eekthecat
      • melromero
      • mr-yellow