The element containing the binding
The attribute name, including a possible prefix. The name may
be prefixed by .
(for a property binding), @
(for an event binding)
or
?
(for a boolean attribute binding).
The array of literal strings that form the static part of
the
attribute value. There are always at least two strings,
even for fully-controlled bindings with a single expression. For example,
for the binding attr="${e1}-${e2}"
, the strings
array includes three
strings (['', '-', '']
)—the text before the first expression (the
empty string), the text between the two expressions ('-'
), and the text
after the last expression (another empty string).
Create parts for a text-position binding.
Generated using TypeDoc
Create parts for an attribute-position binding, given the element, attribute name, and string literals.