IGlobalDialog interface

指定服务呈现方式的对话框属性

属性

buttonProps

要传递给页脚中的按钮的道具。

closeButtonProps

要传递到关闭按钮的道具。

contentProperties

属性(类型:ICustomDialogProps)传递给自定义贡献。

contributionConfiguration

参与内容的初始配置可选。 与 contributionId 配对使用。

contributionId

对话框中宿主的自定义贡献的 ID。 用于呈现自定义对话框。

message

对话框消息的文本。 如果指定了 contributionId,则忽略。

messageFormat

用于替换邮件中的链接的格式。

messageLinks

要格式化为邮件的链接。

onDismiss

关闭对话框时调用的方法。

priority

对话框的优先级确定它是否显示在其他人之上。

settingId

用于检查对话框是否已消除的 ID。

title

对话框的标题。

属性详细信息

buttonProps

要传递给页脚中的按钮的道具。

buttonProps?: Object[]

属性值

Object[]

closeButtonProps

要传递到关闭按钮的道具。

closeButtonProps?: Object

属性值

Object

contentProperties

属性(类型:ICustomDialogProps)传递给自定义贡献。

contentProperties?: Object

属性值

Object

contributionConfiguration

参与内容的初始配置可选。 与 contributionId 配对使用。

contributionConfiguration?: Object

属性值

Object

contributionId

对话框中宿主的自定义贡献的 ID。 用于呈现自定义对话框。

contributionId?: string

属性值

string

message

对话框消息的文本。 如果指定了 contributionId,则忽略。

message?: string

属性值

string

messageFormat

用于替换邮件中的链接的格式。

messageFormat?: string

属性值

string

要格式化为邮件的链接。

messageLinks?: IGlobalMessageLink[]

属性值

onDismiss

关闭对话框时调用的方法。

onDismiss?: () => void

属性值

() => void

priority

对话框的优先级确定它是否显示在其他人之上。

priority?: number

属性值

number

settingId

用于检查对话框是否已消除的 ID。

settingId?: string

属性值

string

title

对话框的标题。

title?: string

属性值

string