UNPKG

@synergy-design-system/components

Version:

This package provides the base of the Synergy Design System as native web components. It uses [lit](https://www.lit.dev) and parts of [shoelace](https://shoelace.style/). Synergy officially supports the latest two versions of all major browsers (as define

17 lines (16 loc) 514 B
export type SynAttributeChange = { attribute: string; oldValue: unknown; newValue: unknown; }; /** * An attribute changed event that is emitted when an attribute of a child element changes. * Used together with the `emitEventForPropertyUpdates` decorator. * @see src/internal/watchEvent.ts */ export type SynAttributesChangedEvent = CustomEvent<SynAttributeChange[]>; declare global { interface GlobalEventHandlersEventMap { 'syn-attributes-changed': SynAttributesChangedEvent; } }