Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ColLayout

Implements

Index

Constructors

constructor

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

    • key: string
    • grow: number
    • shrink: number
    • basis: Length
    • optional: boolean
    • persistent: 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 persistent

persistent: 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

asPersistent

  • asPersistent(persistent: boolean): ColLayout
  • Parameters

    • persistent: boolean

    Returns ColLayout

Protected copy

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

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

    Returns ColLayout

debug

  • Type parameters

    • T

    Parameters

    Returns Output<T>

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

  • create(key: string, grow?: number, shrink?: number, basis?: AnyLength, optional?: boolean, persistent?: boolean, textColor?: null | AnyColor | Look<Color, never>): ColLayout
  • Parameters

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

    Returns ColLayout

Static fromAny

  • Parameters

    Returns ColLayout

Static fromInit

  • Parameters

    Returns ColLayout

Generated using TypeDoc