<!-- Auto-generated by `velinstyle docs generate`. Do not edit. Source: components/velin-persist.js -->

# <velin-persist>

Source: `components/velin-persist.js`

## Accessibility
WCAG contract status: **pass** (framework target: AAA).

- **Keyboard:** N/A
- **Notes:** display:contents; auto-saves form field values (WCAG 3.3.7 Redundant Entry helper). Clears on form submit.

## Attributes
| Attribute | Notes |
| --- | --- |
| `key` | Observed — triggers `attributeChangedCallback` when changed |
| `storage` | Observed — triggers `attributeChangedCallback` when changed |
## Events
- `velin-persist-clear` (bubbles)
- `velin-persist-error` (bubbles)
- `velin-persist-restore` (bubbles)
## CSS parts
_None._
## Slots
_None._
## Public API
| Kind | Name |
| --- | --- |
| Method | `clear()` |
| Property | `storageKey` |
