Skip to content

Interface: ElementProps ​

Framework-neutral element props returned by prop getters. Adapters convert them: React → onClick, tabIndex; Vue → onClick, onKeydown. Attribute values of undefined or false mean "leave the attribute out".

Properties ​

PropertyTypeDescription
attrsRecord<string, string | number | boolean | undefined>Attributes by DOM name, e.g. aria-expanded, tabindex, id.
onPartial<Record<UIEventName, (event) => void>>Event handlers by DOM event name.