Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TemplateProcessor

Hierarchy

  • TemplateProcessor

Implemented by

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

  • Create parts for a text-position binding.

    Parameters

    Returns NodePart

Generated using TypeDoc