IGlobalDialog interface
對話框屬性,指定服務呈現的方式
屬性
| button |
道具可以傳到頁腳的按鈕上。 |
| close |
道具傳給關閉鍵。 |
| content |
道具(類型:ICustomDialogProps)傳遞給自訂貢獻。 |
| contribution |
貢獻內容可選擇初始設定。 與 contributionId 搭配使用。 |
| contribution |
在對話框中,要做主機的自訂貢獻的 ID。 用來渲染自訂對話。 |
| message | 對話訊息的文字。 若指定 contributionId,則忽略。 |
| message |
用來替換訊息中連結的格式。 |
| message |
連結需格式化成訊息中。 |
| on |
當對話被關閉時會呼叫的方法。 |
| priority | 對話的優先順序決定了它是否會被顯示在其他對話之上。 |
| setting |
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
onDismiss
當對話被關閉時會呼叫的方法。
onDismiss?: () => void
屬性值
() => void
priority
對話的優先順序決定了它是否會被顯示在其他對話之上。
priority?: number
屬性值
number
settingId
ID 用來檢查對話是否已被駁回,並讓駁回成為永久。
settingId?: string
屬性值
string
title
對話標題。
title?: string
屬性值
string