A helper plugin to create a a simple list of small grids like for material or object configurator

Hierarchy

  • AViewerPluginSync<"">
    • GridItemListPlugin

Constructors

  • Creates THREE.EventDispatcher | EventDispatcher object.

    Returns GridItemListPlugin

Properties

_dirty: boolean = false
_viewer?: ThreeViewer
_viewerListeners: PartialRecord<"dispose" | "*" | "update" | "preRender" | "postRender" | "preFrame" | "postFrame" | "addPlugin" | "removePlugin" | "renderEnabled" | "renderDisabled", ((e) => void)> = {}

Type declaration

    • (e): void
    • Parameters

      • e: IViewerEvent

      Returns void

constructor: typeof AViewerPluginSync & typeof AViewerPlugin
create: (<T>(tag, title, cols, x, y, items, processDiv) => HTMLDivElement) = GridItemList.Create

Type declaration

    • <T>(tag, title, cols, x, y, items, processDiv): HTMLDivElement
    • 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

enabled: boolean = true
removeAll: ((tag?) => void) = GridItemList.RemoveAll

Type declaration

    • (tag?): void
    • Parameters

      • Optional tag: string

      Returns void

toJSON: any = undefined
uiConfig?: UiObjectConfig<any, string, any> = undefined
OldPluginType?: string
PluginType: string = 'AViewerPlugin'

Accessors

Methods

  • Parameters

    • e: IViewerEvent

    Returns IViewerEvent

  • Parameters

    • Optional prefix: string

    Returns string

  • Returns ISerializedConfig | Record<string, never>

  • Parameters

    • state: any

    Returns Promise<void>

Generated using TypeDoc