Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SVGTemplateResult

A TemplateResult for SVG fragments.

This class wraps HTMl in an <svg> tag in order to parse its contents in the SVG namespace, then modifies the template to remove the <svg> tag so that clones only container the original fragment.

Hierarchy

Index

Constructors

constructor

Properties

processor

strings

strings: TemplateStringsArray

type

type: string

values

values: unknown[]

Methods

getHTML

  • getHTML(): string

getTemplateElement

  • getTemplateElement(): HTMLTemplateElement

Generated using TypeDoc