Skip to main content

@slack/web-api / RawNumberElement

Interface: RawNumberElement

Defined in: packages/types/dist/block-kit/composition-objects.d.ts:164

Description​

Defines an object containing a numeric value.

Properties​

text​

text: string;

Defined in: packages/types/dist/block-kit/composition-objects.d.ts:176

Description​

The text used to display the value. The minimum length is 1 character.


type​

type: "raw_number";

Defined in: packages/types/dist/block-kit/composition-objects.d.ts:168

Description​

The formatting to use for this numeric object.


value​

value: number;

Defined in: packages/types/dist/block-kit/composition-objects.d.ts:172

Description​

The numeric value.