Skip to content

@line/bot-sdkDocs


@line/bot-sdk / messagingApi / FlexBox

Type Alias: FlexBox

FlexBox: FlexComponentBase & object

Type declaration

action?

optional action: Action

alignItems?

optional alignItems: AlignItemsEnum

background?

optional background: FlexBoxBackground

backgroundColor?

optional backgroundColor: string

borderColor?

optional borderColor: string

borderWidth?

optional borderWidth: string

contents

contents: FlexComponent[]

cornerRadius?

optional cornerRadius: string

flex?

optional flex: number

height?

optional height: string

justifyContent?

optional justifyContent: JustifyContentEnum

layout

layout: LayoutEnum

margin?

optional margin: string

maxHeight?

optional maxHeight: string

maxWidth?

optional maxWidth: string

offsetBottom?

optional offsetBottom: string

offsetEnd?

optional offsetEnd: string

offsetStart?

optional offsetStart: string

offsetTop?

optional offsetTop: string

paddingAll?

optional paddingAll: string

paddingBottom?

optional paddingBottom: string

paddingEnd?

optional paddingEnd: string

paddingStart?

optional paddingStart: string

paddingTop?

optional paddingTop: string

position?

optional position: PositionEnum

spacing?

optional spacing: string

type

type: "box"

width?

optional width: string

Defined in

lib/messaging-api/model/flexBox.ts:19