Skip to content

Universal DevTools Kit SDK


Universal DevTools Kit SDK / @u-devtools/kit / web-components / DefineElementOptions

Interface: DefineElementOptions ​

Defined in: web-components.ts:106

Properties ​

attributes? ​

optional attributes: string[]

Defined in: web-components.ts:112

List of attributes to observe. Changes to these attributes will automatically update Vue props. Example: ['label', 'is-active']


emits? ​

optional emits: string[]

Defined in: web-components.ts:119

List of events the Vue component emits. These will be forwarded as standard DOM CustomEvents. Example: ['change', 'update:modelValue']

Released under the MIT License.