Skip to content

@line/bot-sdkDocs


@line/bot-sdk / Offset

Type Alias: Offset

Offset: object

Type declaration

offsetBottom?

optional offsetBottom: string

The bottom offset. For more information, see Offset in the API documentation.

offsetEnd?

optional offsetEnd: string

The right offset. For more information, see Offset in the API documentation.

offsetStart?

optional offsetStart: string

The left offset. For more information, see Offset in the API documentation.

offsetTop?

optional offsetTop: string

The top offset. For more information, see Offset in the API documentation.

position?

optional position: "relative" | "absolute"

Reference position for placing this box. Specify one of the following values:

  • relative: Use the previous box as reference.
  • absolute: Use the top left of parent element as reference.

The default value is relative. For more information, see Offset in the API documentation.

Defined in

lib/types.ts:1239