@slack/web-api / Datepicker
Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:70
Allows users to select a date from a calendar style UI.
- Date picker element reference.
- This is an interactive component - see our guide to enabling interactivity.
optional action_id: string;Defined in: node_modules/@slack/types/dist/block-kit/extensions.d.ts:12
@description: An identifier for this action. You can use this when you receive an interaction payload to
identify the source of the action. Should be unique
among all other action_ids in the containing block. Maximum length for this field is 255 characters.
optional confirm: ConfirmationDialog;Defined in: node_modules/@slack/types/dist/block-kit/extensions.d.ts:21
A Confirm object that defines an optional confirmation dialog after the element is interacted with.
optional focus_on_load: boolean;Defined in: node_modules/@slack/types/dist/block-kit/extensions.d.ts:36
Indicates whether the element will be set to auto focus within the
`view` object. Only one element can be set to true.
Defaults to false.
optional initial_date: string;Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:79
The initial date that is selected when the element is loaded.
This should be in the format YYYY-MM-DD.
optional placeholder: PlainTextElement;Defined in: node_modules/@slack/types/dist/block-kit/extensions.d.ts:49
A PlainTextElement object that defines the placeholder text shown on the element. Maximum
length for the text field in this object is 150 characters.
type: "datepicker";Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:74
The type of element. In this case type is always datepicker.