Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TemplateInstance

An instance of a Template that can be attached to the DOM and updated with new values.

Hierarchy

  • TemplateInstance

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

_parts

_parts: Array<Part | undefined> = []

options

options: RenderOptions

processor

template

template: Template

Methods

_clone

  • _clone(): DocumentFragment
  • Returns DocumentFragment

update

  • update(values: unknown[]): void
  • Parameters

    • values: unknown[]

    Returns void

Generated using TypeDoc