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

Implements

Index

Constructors

constructor

Properties

_previousValues

_previousValues: any

element

element: Element

instance

name

name: string

size

size: number

strings

strings: string[]

Methods

Protected _equalToPreviousValues

  • _equalToPreviousValues(values: any[], startIndex: number): boolean

Protected _interpolate

  • _interpolate(values: any[], startIndex: number): string

setValue

  • setValue(values: any[], startIndex: number): void

Generated using TypeDoc