Class GraphicsTag

SVGGraphicsElement Tag

Hierarchy

Methods

  • Builds the resulting HTML by appending lines to the output array.

    Parameters

    • output: string[]

      A string array on which to append the output

    Returns void

  • Recursively constructs data attributes into key/value strings. Nested keys are joined with dashes.

    Parameters

    • builder: string[]

      An array of strings on which to append the attributes

    • data: DataAttrs

      The data attributes object

    • prefix: string = 'data-'

      A prefix for each attribute name

    Returns void

  • Appends the children

    Parameters

    • output: string[]

      a string array on which to append the output

    Returns void

  • Apply an inline style using the +style+ attribute.

    Returns

    this

    Parameters

    • s: Partial<CSSStyleDeclaration>

      An inline style to apply to the element

    Returns GraphicsTag

Generated using TypeDoc