Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PropertyCommitter

Sets attribute values for PropertyParts, so that the value is only set once even if there are multiple parts for a property.

If an expression controls the whole property value, then the value is simply assigned to the property under control. If there are string literals or multiple expressions, then the strings are expressions are interpolated into a string first.

Hierarchy

Index

Constructors

constructor

  • new PropertyCommitter(element: Element, name: string, strings: string[]): PropertyCommitter

Properties

dirty

dirty: boolean = true

element

element: Element

name

name: string

parts

parts: AttributePart[]

single

single: boolean

strings

strings: string[]

Methods

Protected _createPart

_getValue

  • _getValue(): unknown

commit

  • commit(): void

Generated using TypeDoc