ButtonOptions
Defined in: packages/platform-slack/src/components/button.ts:7
Type Parameters
Section titled “Type Parameters”Msg
C extends View.Children<Msg>
Properties
Section titled “Properties”actionId?
Section titled “actionId?”
readonlyoptionalactionId?:string
Defined in: packages/platform-slack/src/components/button.ts:9
A stable id for this button. Generated by the host when omitted.
children
Section titled “children”
readonlychildren:C
Defined in: packages/platform-slack/src/components/button.ts:16
disabled?
Section titled “disabled?”
readonlyoptionaldisabled?:boolean
Defined in: packages/platform-slack/src/components/button.ts:13
onClick?
Section titled “onClick?”
readonlyoptionalonClick?:Handler<Msg, {ack:AckFn<void> |AckFn<string | SayArguments> |AckFn<DialogValidation>;action: DialogSubmitAction | BlockElementAction | InteractiveAction;body:SlackAction;complete?:FunctionCompleteFn;fail?:FunctionFailFn;inputs?:FunctionInputs;payload: DialogSubmitAction | BlockElementAction | InteractiveAction;respond:RespondFn; }>
Defined in: packages/platform-slack/src/components/button.ts:15
Sends a message when Slack reports a click.
style?
Section titled “style?”
readonlyoptionalstyle?:ButtonStyle
Defined in: packages/platform-slack/src/components/button.ts:10
readonlyoptionalurl?:string
Defined in: packages/platform-slack/src/components/button.ts:11
value?
Section titled “value?”
readonlyoptionalvalue?:string
Defined in: packages/platform-slack/src/components/button.ts:12