Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ColLayout

Implements

Index

Constructors

constructor

  • Parameters

    • key: string
    • grow: number
    • shrink: number
    • basis: Length
    • optional: boolean
    • textColor: null | Color | Look<Color, never>
    • width: null | Length
    • left: null | Length
    • right: null | Length
    • hidden: boolean

    Returns ColLayout

Properties

Readonly basis

basis: Length

Readonly grow

grow: number

Readonly hidden

hidden: boolean

Readonly key

key: string

Readonly left

left: null | Length

Readonly optional

optional: boolean

Readonly right

right: null | Length

Readonly shrink

shrink: number

Readonly textColor

textColor: null | Color | Look<Color, never>

Readonly width

width: null | Length

Methods

asHidden

  • Parameters

    • hidden: boolean

    Returns ColLayout

asOptional

  • Parameters

    • optional: boolean

    Returns ColLayout

Protected copy

  • Parameters

    • key: string
    • grow: number
    • shrink: number
    • basis: Length
    • optional: boolean
    • textColor: null | Color | Look<Color, never>
    • width: null | Length
    • left: null | Length
    • right: null | Length
    • hidden: boolean

    Returns ColLayout

debug

  • debug(output: Output<unknown>): void
  • Parameters

    Returns void

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

equivalentTo

  • equivalentTo(that: unknown, epsilon?: number): boolean
  • Parameters

    • that: unknown
    • Optional epsilon: number

    Returns boolean

resized

  • Parameters

    Returns ColLayout

toString

  • toString(): string
  • Returns string

withFlex

  • Parameters

    • grow: number
    • shrink: number
    • Optional basis: AnyLength

    Returns ColLayout

withTextColor

  • Parameters

    Returns ColLayout

Static create

  • Parameters

    • key: string
    • Optional grow: number
    • Optional shrink: number
    • Optional basis: AnyLength
    • Optional optional: boolean
    • Optional textColor: null | AnyColor | Look<Color, never>

    Returns ColLayout

Static fromAny

  • Parameters

    Returns ColLayout

Static fromInit

  • Parameters

    Returns ColLayout

Generated using TypeDoc