## Resize API

### Directive Value

- `value` (Function | false, optional)
  Function to call right away with the initial size, then whenever the outer size (padding and border included) of the element changes; false or null (or undefined) disables the directive (the observer is dropped and recreated when a handler is supplied again)
  Function signature: `(size?: object) => false | void`
  Examples: `v-resize="myHandler"`, `v-resize="isEnabled ? myHandler : false"`
  Params:
    - `size` (object, optional)
      New size
      Object shape:
        - `height` (number, required)
          Layout height
        - `width` (number, required)
          Layout width
  Returns: `false | void`
    If you return Boolean false from the handler, the observer stops

### Directive Argument

- `arg` (number, optional), default `0`
  Debounce in milliseconds; the element is measured at most once per window, so the last change is never missed; 0 (the default) measures on every change
  Examples: `v-resize:100`, `v-resize:[debounce]`

### Directive Modifiers

- `once` (boolean, optional)
  Call handler only once, with the initial size, then stop observing
  Examples: `v-resize.once`

