bitbybit.dev v1.0.0-rc.1
    Preparing search index...
    Index

    Constructors

    • Parameters

      • Optionalname: string
      • OptionalisVertical: boolean
      • Optionalspacing: number
      • Optionalwidth: string | number
      • Optionalheight: string | number
      • Optionalcolor: string
      • Optionalbackground: string

      Returns CreateStackPanelDto

    Properties

    name: string

    Name of stack panel

    stackPanel
    
    isVertical: boolean

    Horizontal or vertical

    true
    
    spacing: number

    Spacing between each child in pixels

    0
    
    width: string | number

    Width of the stack panel. This value should not be set when in horizontal mode as it will be computed automatically.

    undefined
    

    true

    height: string | number

    Height of the stack panel. This value should not be set when in vertical mode as it will be computed automatically.

    undefined
    

    true

    color: string

    Color of the stack panel

    #00000000
    
    background: string

    Background of the stack panel. We give transparency to the background by default so that it would be visible

    #00000055