ON_REGEX
const
Utilities
Regular expression that matches Vue event-listener prop names (any string starting with 'on' followed by a non-lowercase letter, e.g. onClick, onUpdate:modelValue). Used internally to split attrs into listeners vs plain props.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Resolved value
Ecosystem
Used by
Composables and components that consume this constant.
useAttrsAsProps
filterProps
Usage
Examples
Ready-to-paste code snippets using this constant.
Splitting attrs into listeners and props