UNPKG

adwaveui

Version:

Interactive Web Components inspired by the Gtk Adwaita theme.

51 lines (49 loc) 1.29 kB
var __defProp = Object.defineProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); // src/components/selector/events.ts var AdwSelectorChangeEvent = class extends Event { static { __name(this, "AdwSelectorChangeEvent"); } constructor(eventType, value) { super("change", { bubbles: true }); this.value = value; } }; var OptionContentChangeEvent = class _OptionContentChangeEvent extends Event { static { __name(this, "OptionContentChangeEvent"); } static { this.EVNAME = "optioncontentchanged"; } constructor(eventType, value, content) { super(_OptionContentChangeEvent.EVNAME, { bubbles: true }); this.optionValue = value; this.content = content; } }; var OptionAttributeChangeEvent = class _OptionAttributeChangeEvent extends Event { static { __name(this, "OptionAttributeChangeEvent"); } static { this.EVNAME = "optionattributechanged"; } constructor(eventType, attributeName, attributeValue) { super(_OptionAttributeChangeEvent.EVNAME, { bubbles: true }); this.attributeName = attributeName; this.attributeValue = attributeValue; } }; export { AdwSelectorChangeEvent, OptionAttributeChangeEvent, OptionContentChangeEvent };