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) 544 B
export type SynDefaultChangedAttribute = { attribute: string; oldValue: unknown; newValue: unknown; }; /** * Event that is emitted when the default settings of component properties change. * Used together with the `setGlobalDefaultSettings` * @see src/internal/defaultSettings.ts */ export type SynDefaultSettingsChangedEvent = CustomEvent<Record<string, SynDefaultChangedAttribute[]>>; declare global { interface GlobalEventHandlersEventMap { 'syn-default-settings-changed': SynDefaultSettingsChangedEvent; } }