Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultTemplateProcessor

Creates Parts when a template is instantiated.

Hierarchy

  • DefaultTemplateProcessor

Implements

Index

Methods

handleAttributeExpressions

  • handleAttributeExpressions(element: Element, name: string, strings: string[], options: RenderOptions): Part[]
  • Create parts for an attribute-position binding, given the event, attribute name, and string literals.

    Parameters

    • element: Element

      The element containing the binding

    • name: string

      The attribute name

    • strings: string[]

      The string literals. There are always at least two strings, event for fully-controlled bindings with a single expression.

    • options: RenderOptions

    Returns Part[]

handleTextExpression

Generated using TypeDoc