Events: {
    addTool: (
        tool: BG.charts.Tool,
        parent?: BG.charts.Tool | null,
        index?: number,
        select?: boolean,
    ) => void;
    inputUpdated: (input: TInput) => void;
    moveTool: (
        tool: BG.charts.Tool,
        parent: BG.charts.Tool | null | undefined,
        index: number,
    ) => void;
    newInput: (value: string) => void;
    optionsModified: () => void;
    removeTool: (tool: BG.charts.Tool) => void;
    selfDestruct: () => void;
}

Type declaration

  • addTool: (
        tool: BG.charts.Tool,
        parent?: BG.charts.Tool | null,
        index?: number,
        select?: boolean,
    ) => void

    Fired by subclasses when a tool was generated

  • inputUpdated: (input: TInput) => void

    TODO:

  • moveTool: (
        tool: BG.charts.Tool,
        parent: BG.charts.Tool | null | undefined,
        index: number,
    ) => void

    Fired by subclasses when a generated tool should be moved to another parent or position

  • newInput: (value: string) => void

    TODO:

  • optionsModified: () => void

    TODO:

  • removeTool: (tool: BG.charts.Tool) => void

    Fired by subclasses when a generated tool should be removed

  • selfDestruct: () => void

    Fired when the generator requests to be removed by the controller