Sha256: a5f1854e185673ae2d7230a64140bf365696e6309fa9a9a23ca4910d9b76771d
Contents?: true
Size: 1.52 KB
Versions: 114
Compression:
Stored size: 1.52 KB
Contents
import { Controller } from '@hotwired/stimulus'; type TOutletEventLookup = boolean | { [k: string]: TOutletEventLookup; }; export type TOutletChangeData<T> = { eventKey?: string; data?: T; } | undefined; export default class OutletManagerController<T> extends Controller { #private; static values: { outletEvents: ArrayConstructor; }; readonly outletEventsValue: Array<string>; readonly hasOutletEventsValue: boolean; static outlets: string[]; readonly toggleableOutlets: Array<OutletManagerController<T>>; readonly hasToggleableOutlet: boolean; readonly optionsOutlets: Array<OutletManagerController<T>>; readonly hasOptionsOutlet: boolean; readonly stringMatchOutlets: Array<OutletManagerController<T>>; readonly hasStringMatchOutlet: boolean; outletEventsLookup: TOutletEventLookup | null; static domEvents: { [k: string]: boolean; }; eventRecords: Map<Event, boolean>; getOutlets(): Array<OutletManagerController<T>> | null | void; outletUpdate(event: Event, data: TOutletChangeData<T>): void; getState(): T; connect(): void; syncOutlets(): void; sendToOutlets(event: Event, updateTo?: TOutletChangeData<T>): void; isListeningForOutletEvent(eventTypes: string): boolean; isDOMEventName(eventName: string): boolean; getEventKey(event: Event): string; hasHeardEvent(event: Event): boolean; get event_key_prefix(): string; get event_key_postfix(): string; get outletEvents(): TOutletEventLookup; } export {};
Version data entries
114 entries across 60 versions & 1 rubygems