{
  "version": 1.1,
  "globalAttributes": [
    {
      "name": "lazy",
      "description": {
        "kind": "markdown",
        "value": "By default, `v-model` syncs the input with the data after each `input` event (with the exception of IME composition as [stated above](#vmodel-ime-tip)). You can add the `lazy` modifier to instead sync after `change` events:\n\n```html\n<!-- synced after \"change\" instead of \"input\" -->\n<input v-model.lazy=\"msg\" />\n```"
      },
      "references": "guide/essentials/forms.html#lazy"
    },
    {
      "name": "number",
      "description": {
        "kind": "markdown",
        "value": "If you want user input to be automatically typecast as a number, you can add the `number` modifier to your `v-model` managed inputs:\n\n```html\n<input v-model.number=\"age\" />\n```\n\nIf the value cannot be parsed with `parseFloat()`, then the original (string) value is used instead. In particular, if the input is empty (for instance after the user clearing the input field), an empty string is returned. This behavior differs from the [DOM property `valueAsNumber`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement#valueasnumber). \n\nThe `number` modifier is applied automatically if the input has `type=\"number\"`."
      },
      "references": "guide/essentials/forms.html#number"
    },
    {
      "name": "trim",
      "description": {
        "kind": "markdown",
        "value": "If you want whitespace from user input to be trimmed automatically, you can add the `trim` modifier to your `v-model`-managed inputs:\n\n```html\n<input v-model.trim=\"msg\" />\n```"
      },
      "references": "guide/essentials/forms.html#trim"
    }
  ]
}