Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BooleanAttributePart

Implements a boolean attribute, roughly as defined in the HTML specification.

If the value is truthy, then the attribute is present with a value of ''. If the value is falsey, the attribute is removed.

Hierarchy

  • BooleanAttributePart

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

_pendingValue

_pendingValue: any = undefined

element

element: Element

name

name: string

strings

strings: string[]

value

value: any = undefined

Methods

commit

  • commit(): void

setValue

  • setValue(value: any): void

Generated using TypeDoc