Options for the toggleDetails action.

interface ToggleDetails {
    animate?: boolean;
    clickActive?: boolean;
    enabled?: boolean;
    store?: MinimalWritable<boolean>;
}

Properties

animate?: boolean

When true, animate close / open state with WAAPI.

true

clickActive?: boolean

When false, click events are not handled.

true

enabled?: boolean

When false, store changes and click events are not handled.

true

store?: MinimalWritable<boolean>

A minimal writable boolean store for details element open state.