plotomics
    Preparing search index...

    Interface ResetButton

    The reset button of a plot. See createResetButton.

    interface ResetButton {
        box: ViewArea | null;
        element: HTMLButtonElement;
        place(area: ViewArea, theme: PlotomicsTheme): void;
        show(away: boolean): void;
    }
    Index
    box: ViewArea | null

    The box the button takes in the plot box while it is shown, else null. A plot keeps its own labels out of it.

    element: HTMLButtonElement

    The button element.

    • Show the button when away is true, the view being away from home, and hide it when it is false. A plot area too small to hold it keeps it hidden.

      Parameters

      • away: boolean

      Returns void