Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Length

Hierarchy

Implements

Index

Methods

Abstract debug

divide

em

emValue

  • emValue(): number

Abstract equals

  • equals(that: unknown): boolean

Abstract hashCode

  • hashCode(): number

isDefined

  • isDefined(): boolean

minus

Abstract node

  • node(): Node | undefined

opposite

pct

pctValue

  • pctValue(): number

plus

px

  • px(unitValue?: undefined | number): PxLength

Abstract pxValue

  • pxValue(unitValue?: undefined | number): number

rem

remValue

  • remValue(): number

times

to

Abstract toString

  • toString(): string

toValue

Abstract unitValue

  • unitValue(): number

Abstract units

Abstract value

  • value(): number

Static em

Static form

Static from

Static fromAny

Static fromValue

  • fromValue(value: Value, node?: Node): Length | undefined

Static parse

Static pct

Static px

Static rem

Static unitless

Static zero