Provides the data object passed to callback functions and triggered custom DOM events for folder state.

type EventData = {
    element: HTMLDetailsElement;
    event?: KeyboardEvent | PointerEvent;
    folder?: TJSFolder.Data;
    id?: string;
    label?: string;
    store?: MinimalWritable<boolean>;
}
Index

Properties

The folder component <details> element.

Associated originating DOM event for onClose, onContextMenu, onOpen callbacks.

folder?: TJSFolder.Data

The associated TJSFolder.Data instance.

id?: string

The associated folder ID.

label?: string

The associated folder label.

store?: MinimalWritable<boolean>

The associated folder store.