Class Cell

Represent a single cell of data in the Matrix component.

Index

Methods

addPreview

  • addPreview(minWidth: string, maxWidth: string): void
  • Show the preview of the cell.

    Parameters

    • minWidth: string

      css minWidth property : eg 100px

    • maxWidth: string

      css maxWidth property : eg 100px

    Returns void

getHTML

  • getHTML(): HTMLElement

getValue

  • getValue(): any

removePreview

  • removePreview(): void

setHTML

  • setHTML(html: HTMLElement): void
  • Set the HTMLElement for the cell.

    Parameters

    • html: HTMLElement

    Returns void

setValue

  • setValue(value: any): void

updatePreview

  • updatePreview(template: string): void
  • Update the preview with a new template

    Parameters

    • template: string

    Returns void

Hierarchy

  • Cell