Interface UIConfiguration

interface UIConfiguration {
    elements?: UIElements;
    showCompositeFilters?: boolean;
    timeline?: UITimeline;
    update: ((selection) => UIMinimalConfiguration | Promise<UIMinimalConfiguration>);
}

Hierarchy

Properties

elements?: UIElements

elements defines the configuration of each UI element.

showCompositeFilters?: boolean

showCompositeFilters flag to show composite filters in the report ui

timeline?: UITimeline

timeline defines the timeline UI element.

update: ((selection) => UIMinimalConfiguration | Promise<UIMinimalConfiguration>)

Type declaration

    • (selection): UIMinimalConfiguration | Promise<UIMinimalConfiguration>
    • update provides a callback to react to changes from the UI elements.

      It's called when initializing the report's UI elements and whenever the user interacts with them.

      selection is an object that reflects the state of the current selection of the UI elements.

      update also allows modifying the ui configuration by returning the target configuration. Use null to destroy any visible elements. When using an undefined value for a specific element, the element remains untouched.

      Parameters

      Returns UIMinimalConfiguration | Promise<UIMinimalConfiguration>

Generated using TypeDoc