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

Elements: HTMLDivElement[] = []
_container: HTMLDivElement = ...

Methods

  • Type Parameters

    Parameters

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

          • d: HTMLDivElement
          • item: T
          • container: HTMLElement

          Returns void

    Returns HTMLDivElement

Generated using TypeDoc