Class: DefaultTemplateProcessor

elements-sk/styles/buttons~DefaultTemplateProcessor()

Creates Parts when a template is instantiated.

Constructor

new DefaultTemplateProcessor()

Source:

Methods

handleAttributeExpressions(element, name, strings)

Create parts for an attribute-position binding, given the event, attribute name, and string literals.
Parameters:
Name Type Description
element The element containing the binding
name The attribute name
strings The string literals. There are always at least two strings, event for fully-controlled bindings with a single expression.
Source:

handleTextExpression(templateFactory)

Create parts for a text-position binding.
Parameters:
Name Type Description
templateFactory
Source: