Earlier it was called CustomContextGrid. Used to create a overlay of grid items over the canvas allowing users to pick from a list of items.

Constructors

Properties

Methods

Constructors

Properties

Elements: HTMLDivElement[] = []

Methods

  • Type Parameters

    Parameters

    • tag: string
    • title: string
    • cols: number
    • x: number
    • y: number
    • items: T[]
    • processDiv: (d: HTMLDivElement, item: T, container: HTMLElement) => void

    Returns HTMLDivElement