ErrorBarProps interface
- Extends
-
IMessageBarProps
屬性
| active |
目前作用中的錯誤。 |
| ignore |
如果設定,時間戳的錯誤 未顯示此元件掛接的時間。 當搭配處理多個通話或聊天對話的具狀態用戶端使用 ErrorBar 時,這非常有用。 將此屬性設定為忽略先前通話或聊天的錯誤。 |
| on |
觸發 dismiss 按鈕時調用的回調。 使用此選項可控制使用者關閉時顯示的錯誤。 |
| strings | UI 上顯示錯誤時顯示的字串。 |
繼承的屬性
屬性詳細資料
activeErrorMessages
ignorePremountErrors
onDismissError
觸發 dismiss 按鈕時調用的回調。 使用此選項可控制使用者關閉時顯示的錯誤。
onDismissError?: (dismissedError: ActiveErrorMessage) => void
屬性值
(dismissedError: ActiveErrorMessage) => void
strings
繼承的屬性詳細資料
about
about?: string
屬性值
string
繼承自 IMessageBarProps.about
accessKey
accessKey?: string
屬性值
string
繼承自 IMessageBarProps.accessKey
actions
您想要顯示在另一邊的動作。
actions?: JSXElement
屬性值
JSXElement
繼承自 IMessageBarProps.actions
aria-activedescendant
當 DOM 焦點位於複合小工具、文字框、群組或應用程式時,識別目前使用中的元素。
aria-activedescendant?: string
屬性值
string
繼承自 IMessageBarProps.aria-activedescendant
aria-atomic
指出輔助技術會根據aria相關屬性所定義的變更通知,呈現變更區域的所有或僅部分。
aria-atomic?: Booleanish
屬性值
Booleanish
繼承自 IMessageBarProps.aria-atomic
aria-autocomplete
指出輸入文字是否可能會觸發輸入的一或多個用戶預期值的預測顯示,並指定預測在進行時呈現的方式。
aria-autocomplete?: "none" | "list" | "inline" | "both"
屬性值
"none" | "list" | "inline" | "both"
繼承自 IMessageBarProps.aria-autocomplete
aria-braillelabel
定義一個字串值,用於標記當前元素,該元素旨在轉換為盲文。
參見aria-label。
aria-braillelabel?: string
屬性值
string
繼承自 IMessageBarProps.aria-braille標籤
aria-brailleroledescription
為元素的角色定義用戶可讀的、作者本地化的縮寫說明,該元素旨在轉換為盲文。
請參閱aria-roledescription。
aria-brailleroledescription?: string
屬性值
string
繼承自 IMessageBarProps.aria-braillerole描述
aria-busy
aria-busy?: Booleanish
屬性值
Booleanish
繼承自 IMessageBarProps.aria-busy
aria-checked
指出複選框、單選按鈕和其他小工具目前的「已核取」狀態。
請參閱aria-pressed See aria-selected。
aria-checked?: boolean | "true" | "false" | "mixed"
屬性值
boolean | "true" | "false" | "mixed"
繼承自 IMessageBarProps.aria-checked
aria-colcount
定義數據表、方格或樹狀結構網格線中的數據行總數。
請參閱aria-colindex。
aria-colcount?: number
屬性值
number
繼承自 IMessageBarProps.aria-colcount
aria-colindex
定義元素的數據行索引或位置,與數據表、方格或樹狀結構內的數據行總數有關。
請參閱aria-colcount 請參閱aria-colspan。
aria-colindex?: number
屬性值
number
繼承自 IMessageBarProps.aria-colindex
aria-colindextext
定義aria-colindex的人類可讀文字替代項。
請參閱aria-rowindextext。
aria-colindextext?: string
屬性值
string
繼承自 IMessageBarProps.aria-colindex文本
aria-colspan
定義數據表、方格或樹狀結構網格線內儲存格或網格線所跨越的數據行數目。
請參閱aria-colindex 請參閱aria-rowspan。
aria-colspan?: number
屬性值
number
繼承自 IMessageBarProps.aria-colspan
aria-controls
識別目前專案所控制其內容或存在的專案(或專案)。
請參閱阿里亞擁有。
aria-controls?: string
屬性值
string
繼承自 IMessageBarProps.aria-controls
aria-current
表示表示容器或相關專案集內目前專案的專案。
aria-current?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"
屬性值
boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"
繼承自 IMessageBarProps.aria-current
aria-describedby
識別描述物件的專案(或專案)。
請參閱aria-labelledby
aria-describedby?: string
屬性值
string
繼承自 IMessageBarProps.aria-describedby
aria-description
定義描述或批註當前元素的字串值。
參見相關的aria-describedby。
aria-description?: string
屬性值
string
繼承自 IMessageBarProps.aria 描述
aria-details
識別提供物件詳細擴充描述的專案。
請參閱aria-describedby。
aria-details?: string
屬性值
string
繼承自 IMessageBarProps.aria-details
aria-disabled
表示元素可感知但已停用,因此無法編輯或可作。
請參閱 aria-hidden See aria-readonly。
aria-disabled?: Booleanish
屬性值
Booleanish
繼承自 IMessageBarProps.aria-disabled
aria-dropeffect
警告
此 API 現已淘汰。
in ARIA 1.1
指出卸除目標上放開拖曳的物件時,可以執行哪些函式。
aria-dropeffect?: "none" | "link" | "copy" | "execute" | "move" | "popup"
屬性值
"none" | "link" | "copy" | "execute" | "move" | "popup"
繼承自 IMessageBarProps.aria-dropeffect
aria-errormessage
識別提供物件錯誤訊息的專案。
請參閱 aria-invalid See aria-describedby。
aria-errormessage?: string
屬性值
string
繼承自 IMessageBarProps.aria-errormessage
aria-expanded
指出專案或它所控制的另一個群組專案目前是否已展開或折疊。
aria-expanded?: Booleanish
屬性值
Booleanish
繼承自 IMessageBarProps.aria-expanded
aria-flowto
識別內容替代閱讀順序中的下一個專案(或元素),使用者可自行決定,讓輔助技術覆寫以檔來源順序讀取的一般預設值。
aria-flowto?: string
屬性值
string
繼承自 IMessageBarProps.aria-flowto
aria-grabbed
警告
此 API 現已淘汰。
in ARIA 1.1
表示拖放作業中元素的「抓取」狀態。
aria-grabbed?: Booleanish
屬性值
Booleanish
繼承自 IMessageBarProps.aria-grabbed
aria-haspopup
指出可由元素觸發的互動式快顯專案的可用性和類型,例如功能表或對話框。
aria-haspopup?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree"
屬性值
boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree"
繼承自 IMessageBarProps.aria-haspopup
aria-hidden
指出專案是否公開至輔助功能 API。
請參閱aria-disabled。
aria-hidden?: Booleanish
屬性值
Booleanish
繼承自 IMessageBarProps.aria-hidden
aria-invalid
表示輸入的值不符合應用程式預期的格式。
請參閱aria-errormessage。
aria-invalid?: boolean | "true" | "false" | "grammar" | "spelling"
屬性值
boolean | "true" | "false" | "grammar" | "spelling"
繼承自 IMessageBarProps.aria-invalid
aria-keyshortcuts
指出作者實作的鍵盤快捷方式,以啟動或將焦點提供給專案。
aria-keyshortcuts?: string
屬性值
string
繼承自 IMessageBarProps.aria-keyshortcuts
aria-label
定義標記目前專案的字串值。
請參閱aria-labelledby。
aria-label?: string
屬性值
string
繼承自 IMessageBarProps.aria-label
aria-labelledby
識別標記目前專案的專案(或專案)。
請參閱aria-describedby。
aria-labelledby?: string
屬性值
string
繼承自 IMessageBarProps.aria-labelledby
aria-level
定義結構中元素的階層式層級。
aria-level?: number
屬性值
number
繼承自 IMessageBarProps.aria-level
aria-live
表示專案將會更新,並描述使用者代理程式、輔助技術和使用者可以預期從即時區域更新的類型。
aria-live?: "assertive" | "off" | "polite"
屬性值
"assertive" | "off" | "polite"
繼承自 IMessageBarProps.aria-live
aria-modal
指出項目在顯示時是否為強制回應。
aria-modal?: Booleanish
屬性值
Booleanish
繼承自 IMessageBarProps.aria-modal
aria-multiline
指出文本框接受多行輸入,還是只接受單行。
aria-multiline?: Booleanish
屬性值
Booleanish
繼承自 IMessageBarProps.aria-multiline
aria-multiselectable
表示用戶可以從目前可選取的子系中選取多個專案。
aria-multiselectable?: Booleanish
屬性值
Booleanish
繼承自 IMessageBarProps.aria-multiselectable
aria-orientation
指出專案的方向是水準、垂直或未知/模棱兩可。
aria-orientation?: "horizontal" | "vertical"
屬性值
"horizontal" | "vertical"
繼承自 IMessageBarProps.aria-orientation
aria-owns
識別專案(或專案),以便定義 DOM 元素之間的視覺、功能或關係型父子關聯性,其中 DOM 階層無法用來表示關聯性。
請參閱aria-controls。
aria-owns?: string
屬性值
string
繼承自 IMessageBarProps.aria-owns
aria-placeholder
定義簡短提示(單字或短詞組),以在控件沒有值時協助使用者輸入數據。 提示可以是範例值或預期格式的簡短描述。
aria-placeholder?: string
屬性值
string
繼承自 IMessageBarProps.aria-placeholder
aria-posinset
定義專案在目前 listitems 或 treeitems 集合中的數位或位置。 如果集合中的所有元素都存在於 DOM 中,則不需要。
請參閱aria-setsize。
aria-posinset?: number
屬性值
number
繼承自 IMessageBarProps.aria-posinset
aria-pressed
表示切換按鈕的目前「已按下」狀態。
請參閱aria-checked See aria-selected。
aria-pressed?: boolean | "true" | "false" | "mixed"
屬性值
boolean | "true" | "false" | "mixed"
繼承自 IMessageBarProps.aria-pressed
aria-readonly
表示專案不可編輯,但不可作。
請參閱aria-disabled。
aria-readonly?: Booleanish
屬性值
Booleanish
繼承自 IMessageBarProps.aria-readonly
aria-relevant
指出修改即時區域內輔助功能樹狀結構時,使用者代理程式將觸發哪些通知。
請參閱aria-atomic。
aria-relevant?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"
屬性值
"text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"
繼承自 IMessageBarProps.aria-relevant
aria-required
表示在提交表單之前,元素上需要用戶輸入。
aria-required?: Booleanish
屬性值
Booleanish
繼承自 IMessageBarProps.aria-required
aria-roledescription
定義元素角色的人類可讀取、作者當地語系化描述。
aria-roledescription?: string
屬性值
string
繼承自 IMessageBarProps.aria-roledescription
aria-rowcount
定義數據表、方格或 treegrid 中的數據列總數。
請參閱aria-rowindex。
aria-rowcount?: number
屬性值
number
繼承自 IMessageBarProps.aria-rowcount
aria-rowindex
定義元素的數據列索引或位置,與數據表、方格或樹狀結構內的數據列總數有關。
請參閱aria-rowcount 請參閱aria-rowspan。
aria-rowindex?: number
屬性值
number
繼承自 IMessageBarProps.aria-rowindex
aria-rowindextext
定義aria-rowindex的人類可讀文字替代項。
請參閱aria-colindextext。
aria-rowindextext?: string
屬性值
string
繼承自 IMessageBarProps.aria-rowindextext
aria-rowspan
定義數據表、方格或樹狀結構內單元格或 gridcell 所跨越的數據列數目。
請參閱aria-rowindex 請參閱aria-colspan。
aria-rowspan?: number
屬性值
number
繼承自 IMessageBarProps.aria-rowspan
aria-selected
指出各種小工具目前的「選取」狀態。
請參閱 aria-checked See aria-pressed。
aria-selected?: Booleanish
屬性值
Booleanish
繼承自 IMessageBarProps.aria-selected
aria-setsize
定義目前 listitems 或 treeitems 集合中的項目數目。 如果集合中的所有元素都存在於 DOM 中,則不需要。
請參閱aria-posinset。
aria-setsize?: number
屬性值
number
繼承自 IMessageBarProps.aria-setsize
aria-sort
指出數據表或方格中的專案是否以遞增或遞減順序排序。
aria-sort?: "none" | "ascending" | "descending" | "other"
屬性值
"none" | "ascending" | "descending" | "other"
繼承自 IMessageBarProps.aria-sort
aria-valuemax
定義範圍小工具允許的最大值。
aria-valuemax?: number
屬性值
number
繼承自 IMessageBarProps.aria-valuemax
aria-valuemin
定義範圍小工具的最小允許值。
aria-valuemin?: number
屬性值
number
繼承自 IMessageBarProps.aria-valuemin
aria-valuenow
定義範圍小工具的目前值。
請參閱aria-valuetext。
aria-valuenow?: number
屬性值
number
繼承自 IMessageBarProps.aria-valuenow
aria-valuetext
定義範圍小工具的aria-valuenow人類可讀文字替代專案。
aria-valuetext?: string
屬性值
string
繼承自 IMessageBarProps.aria-valuetext
ariaLabel
警告
此 API 現已淘汰。
Use native prop aria-label instead.
螢幕助讀程序權益之消息列的描述。
ariaLabel?: string
屬性值
string
繼承自 IMessageBarProps.ariaLabel
autoCapitalize
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {})
屬性值
"off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {})
繼承自 IMessageBarProps.autoCapitalize
autoCorrect
autoCorrect?: string
屬性值
string
繼承自 IMessageBarProps.autoCorrect
autoFocus
autoFocus?: boolean
屬性值
boolean
繼承自 IMessageBarProps.autoFocus
autoSave
autoSave?: string
屬性值
string
繼承自 IMessageBarProps.autoSave
children
children?: ReactNode
屬性值
ReactNode
繼承自 IMessageBarProps.children
className
要套用至 MessageBar 的其他 CSS 類別。。
className?: string
屬性值
string
繼承自 IMessageBarProps.className
color
color?: string
屬性值
string
繼承自 IMessageBarProps.color
componentRef
選擇性回呼以存取 IMessageBar 介面。 請使用此選項,而不是 ref 來存取元件的公用方法和屬性。
componentRef?: IRefObject<IMessageBar>
屬性值
IRefObject<IMessageBar>
繼承自 IMessageBarProps.componentRef
content
content?: string
屬性值
string
繼承自 IMessageBarProps.content
contentEditable
contentEditable?: Booleanish | "inherit" | "plaintext-only"
屬性值
Booleanish | "inherit" | "plaintext-only"
繼承自 IMessageBarProps.contentEditable
contextMenu
contextMenu?: string
屬性值
string
繼承自 IMessageBarProps.contextMenu
dangerouslySetInnerHTML
dangerouslySetInnerHTML?: { __html: string | TrustedHTML }
屬性值
{ __html: string | TrustedHTML }
繼承自 IMessageBarProps.dangerouslySetInnerHTML
datatype
datatype?: string
屬性值
string
繼承自 IMessageBarProps.datatype
defaultChecked
defaultChecked?: boolean
屬性值
boolean
繼承自 IMessageBarProps.defaultChecked
defaultValue
defaultValue?: string | number | (readonly string[])
屬性值
string | number | (readonly string[])
繼承自 IMessageBarProps.defaultValue
delayedRender
根據預設,MessageBar 會在內部即時區域內延遲轉譯其內容,以協助確保螢幕助讀程式已宣布內容。 您可以將這個屬性設定為 false,以停用該行為。
如果您將此屬性設定為 false,以確保適當的公告,您應該:
- 如果適當,請確定
role道具設定為alert(如果messageBarType是error、blocked或severeWarning,則預設會執行此動作。 - 將
roleprop 設定為none(以避免巢狀status區域),將整個 MessageBar 包裝在一律轉譯的<div role="status">中,並確保有條件地或延遲轉譯 MessageBar。
delayedRender?: boolean
屬性值
boolean
繼承自 IMessageBarProps.delayedRender
dir
dir?: string
屬性值
string
繼承自 IMessageBarProps.dir
dismissButtonAriaLabel
如果定義 onDismiss,則為 [關閉] 按鈕上的 Aria 標籤。
dismissButtonAriaLabel?: string
屬性值
string
繼承自 IMessageBarProps.dismissButtonAriaLabel
dismissIconProps
自訂圖示屬性可取代關閉圖示。 如果未設定,預設值會是網狀架構清除圖示。
dismissIconProps?: IIconProps
屬性值
IIconProps
繼承自 IMessageBarProps.dismissIconProps
draggable
draggable?: Booleanish
屬性值
Booleanish
繼承自 IMessageBarProps.draggable
enterKeyHint
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send"
屬性值
"enter" | "done" | "go" | "next" | "previous" | "search" | "send"
繼承自 IMessageBarProps.enterKeyHint
expandButtonProps
可套用至 MessageBar 展開按鈕的按鈕屬性。
expandButtonProps?: IButtonProps
屬性值
IButtonProps
繼承自 IMessageBarProps.expandButtonProps
exportparts
請參閱 https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts
exportparts?: string
屬性值
string
繼承自 IMessageBarProps.exportparts
hidden
hidden?: boolean
屬性值
boolean
繼承自 IMessageBarProps.hidden
id
id?: string
屬性值
string
繼承自 IMessageBarProps.id
inlist
inlist?: any
屬性值
any
繼承自 IMessageBarProps.inlist
inputMode
提示在編輯專案或其內容時,使用者可能輸入的數據類型
請參閱 https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal"
屬性值
"none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal"
繼承自 IMessageBarProps.inputMode
is
指定標準 HTML 項目的行為應該與已定義的自定義內建項目類似
請參閱 https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
is?: string
屬性值
string
繼承自 IMessageBarProps.is 的
isMultiline
判斷消息列是否多行。 如果為 false,且文字溢出按鈕或另一行,則會裁剪。
isMultiline?: boolean
屬性值
boolean
繼承自 IMessageBarProps.isMultiline
itemID
itemID?: string
屬性值
string
繼承自 IMessageBarProps.itemID
itemProp
itemProp?: string
屬性值
string
繼承自 IMessageBarProps.itemProp
itemRef
itemRef?: string
屬性值
string
繼承自 IMessageBarProps.itemRef
itemScope
itemScope?: boolean
屬性值
boolean
繼承自 IMessageBarProps.itemScope
itemType
itemType?: string
屬性值
string
繼承自 IMessageBarProps.itemType
key
key?: null | Key
屬性值
null | Key
繼承自 IMessageBarProps.key
lang
lang?: string
屬性值
string
繼承自 IMessageBarProps.lang
messageBarIconProps
用來取代消息列圖示的自定義圖示屬性。 如果未設定,則預設值會是 messageBarType 所設定的圖示。
messageBarIconProps?: IIconProps
屬性值
IIconProps
繼承自 IMessageBarProps.messageBarIconProps
messageBarType
要轉譯的 MessageBar 類型。
messageBarType?: MessageBarType
屬性值
MessageBarType
繼承自 IMessageBarProps.messageBarType
nonce
nonce?: string
屬性值
string
繼承自 IMessageBarProps.nonce
onAbort
onAbort?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onAbort
onAbortCapture
onAbortCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onAbortCapture
onAnimationEnd
onAnimationEnd?: AnimationEventHandler<HTMLElement>
屬性值
AnimationEventHandler<HTMLElement>
繼承自 IMessageBarProps.onAnimationEnd
onAnimationEndCapture
onAnimationEndCapture?: AnimationEventHandler<HTMLElement>
屬性值
AnimationEventHandler<HTMLElement>
繼承自 IMessageBarProps.onAnimationEndCapture
onAnimationIteration
onAnimationIteration?: AnimationEventHandler<HTMLElement>
屬性值
AnimationEventHandler<HTMLElement>
繼承自 IMessageBarProps.onAnimationIteration
onAnimationIterationCapture
onAnimationIterationCapture?: AnimationEventHandler<HTMLElement>
屬性值
AnimationEventHandler<HTMLElement>
繼承自 IMessageBarProps.onAnimationIterationCapture
onAnimationStart
onAnimationStart?: AnimationEventHandler<HTMLElement>
屬性值
AnimationEventHandler<HTMLElement>
繼承自 IMessageBarProps.onAnimationStart
onAnimationStartCapture
onAnimationStartCapture?: AnimationEventHandler<HTMLElement>
屬性值
AnimationEventHandler<HTMLElement>
繼承自 IMessageBarProps.onAnimationStartCapture
onAuxClick
onAuxClick?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onAuxClick
onAuxClickCapture
onAuxClickCapture?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onAuxClickCapture
onBeforeInput
onBeforeInput?: InputEventHandler<HTMLElement>
屬性值
InputEventHandler<HTMLElement>
繼承自 IMessageBarProps.onBeforeInput
onBeforeInputCapture
onBeforeInputCapture?: FormEventHandler<HTMLElement>
屬性值
FormEventHandler<HTMLElement>
繼承自 IMessageBarProps.onBeforeInputCapture
onBlur
onBlur?: FocusEventHandler<HTMLElement>
屬性值
FocusEventHandler<HTMLElement>
繼承自 IMessageBarProps.onBlur
onBlurCapture
onBlurCapture?: FocusEventHandler<HTMLElement>
屬性值
FocusEventHandler<HTMLElement>
繼承自 IMessageBarProps.onBlurCapture
onCanPlay
onCanPlay?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onCanPlay
onCanPlayCapture
onCanPlayCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onCanPlayCapture
onCanPlayThrough
onCanPlayThrough?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onCanPlayThrough
onCanPlayThroughCapture
onCanPlayThroughCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onCanPlayThroughCapture
onChange
onChange?: FormEventHandler<HTMLElement>
屬性值
FormEventHandler<HTMLElement>
繼承自 IMessageBarProps.onChange
onChangeCapture
onChangeCapture?: FormEventHandler<HTMLElement>
屬性值
FormEventHandler<HTMLElement>
繼承自 IMessageBarProps.onChangeCapture
onClick
onClick?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onClick
onClickCapture
onClickCapture?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onClickCapture
onCompositionEnd
onCompositionEnd?: CompositionEventHandler<HTMLElement>
屬性值
CompositionEventHandler<HTMLElement>
繼承自 IMessageBarProps.onCompositionEnd
onCompositionEndCapture
onCompositionEndCapture?: CompositionEventHandler<HTMLElement>
屬性值
CompositionEventHandler<HTMLElement>
繼承自 IMessageBarProps.onCompositionEndCapture
onCompositionStart
onCompositionStart?: CompositionEventHandler<HTMLElement>
屬性值
CompositionEventHandler<HTMLElement>
繼承自 IMessageBarProps.onCompositionStart
onCompositionStartCapture
onCompositionStartCapture?: CompositionEventHandler<HTMLElement>
屬性值
CompositionEventHandler<HTMLElement>
繼承自 IMessageBarProps.onCompositionStartCapture
onCompositionUpdate
onCompositionUpdate?: CompositionEventHandler<HTMLElement>
屬性值
CompositionEventHandler<HTMLElement>
繼承自 IMessageBarProps.onCompositionUpdate
onCompositionUpdateCapture
onCompositionUpdateCapture?: CompositionEventHandler<HTMLElement>
屬性值
CompositionEventHandler<HTMLElement>
繼承自 IMessageBarProps.onCompositionUpdateCapture
onContextMenu
onContextMenu?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onContextMenu
onContextMenuCapture
onContextMenuCapture?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onContextMenuCapture
onCopy
onCopy?: ClipboardEventHandler<HTMLElement>
屬性值
ClipboardEventHandler<HTMLElement>
繼承自 IMessageBarProps.onCopy
onCopyCapture
onCopyCapture?: ClipboardEventHandler<HTMLElement>
屬性值
ClipboardEventHandler<HTMLElement>
繼承自 IMessageBarProps.onCopyCapture
onCut
onCut?: ClipboardEventHandler<HTMLElement>
屬性值
ClipboardEventHandler<HTMLElement>
繼承自 IMessageBarProps.onCut
onCutCapture
onCutCapture?: ClipboardEventHandler<HTMLElement>
屬性值
ClipboardEventHandler<HTMLElement>
繼承自 IMessageBarProps.onCutCapture
onDismiss
消息列是否有關閉按鈕及其回呼。 如果為 null,則不會顯示關閉按鈕。
onDismiss?: (ev?: MouseEvent<HTMLElement | BaseButton | Button, MouseEvent>) => any
屬性值
(ev?: MouseEvent<HTMLElement | BaseButton | Button, MouseEvent>) => any
繼承自 IMessageBarProps.onDismiss
onDoubleClick
onDoubleClick?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDoubleClick
onDoubleClickCapture
onDoubleClickCapture?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDoubleClickCapture
onDrag
onDrag?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDrag
onDragCapture
onDragCapture?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDragCapture
onDragEnd
onDragEnd?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDragEnd
onDragEndCapture
onDragEndCapture?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDragEndCapture
onDragEnter
onDragEnter?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDragEnter
onDragEnterCapture
onDragEnterCapture?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDragEnterCapture
onDragExit
onDragExit?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDragExit
onDragExitCapture
onDragExitCapture?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDragExitCapture
onDragLeave
onDragLeave?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDragLeave
onDragLeaveCapture
onDragLeaveCapture?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDragLeaveCapture
onDragOver
onDragOver?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDragOver
onDragOverCapture
onDragOverCapture?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDragOverCapture
onDragStart
onDragStart?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDragStart
onDragStartCapture
onDragStartCapture?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDragStartCapture
onDrop
onDrop?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDrop
onDropCapture
onDropCapture?: DragEventHandler<HTMLElement>
屬性值
DragEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDropCapture
onDurationChange
onDurationChange?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDurationChange
onDurationChangeCapture
onDurationChangeCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onDurationChangeCapture
onEmptied
onEmptied?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onEmptied
onEmptiedCapture
onEmptiedCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onEmptiedCapture
onEncrypted
onEncrypted?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onEncrypted
onEncryptedCapture
onEncryptedCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onEncryptedCapture
onEnded
onEnded?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onEnded
onEndedCapture
onEndedCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onEndedCapture
onError
onError?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onError
onErrorCapture
onErrorCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onErrorCapture
onExpandButtonToggled
切換展開按鈕時執行的回調
onExpandButtonToggled?: (expandSingleLine: boolean) => void
屬性值
(expandSingleLine: boolean) => void
繼承自 IMessageBarProps.onExpandButtonToggled
onFocus
onFocus?: FocusEventHandler<HTMLElement>
屬性值
FocusEventHandler<HTMLElement>
繼承自 IMessageBarProps.onFocus
onFocusCapture
onFocusCapture?: FocusEventHandler<HTMLElement>
屬性值
FocusEventHandler<HTMLElement>
繼承自 IMessageBarProps.onFocusCapture
onGotPointerCapture
onGotPointerCapture?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onGotPointerCapture
onGotPointerCaptureCapture
onGotPointerCaptureCapture?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onGotPointerCaptureCapture
onInput
onInput?: FormEventHandler<HTMLElement>
屬性值
FormEventHandler<HTMLElement>
繼承自 IMessageBarProps.onInput
onInputCapture
onInputCapture?: FormEventHandler<HTMLElement>
屬性值
FormEventHandler<HTMLElement>
繼承自 IMessageBarProps.onInputCapture
onInvalid
onInvalid?: FormEventHandler<HTMLElement>
屬性值
FormEventHandler<HTMLElement>
繼承自 IMessageBarProps.onInvalid
onInvalidCapture
onInvalidCapture?: FormEventHandler<HTMLElement>
屬性值
FormEventHandler<HTMLElement>
繼承自 IMessageBarProps.onInvalidCapture
onKeyDown
onKeyDown?: KeyboardEventHandler<HTMLElement>
屬性值
KeyboardEventHandler<HTMLElement>
繼承自 IMessageBarProps.onKeyDown
onKeyDownCapture
onKeyDownCapture?: KeyboardEventHandler<HTMLElement>
屬性值
KeyboardEventHandler<HTMLElement>
繼承自 IMessageBarProps.onKeyDownCapture
onKeyPress
警告
此 API 現已淘汰。
Use onKeyUp or onKeyDown instead
onKeyPress?: KeyboardEventHandler<HTMLElement>
屬性值
KeyboardEventHandler<HTMLElement>
繼承自 IMessageBarProps.onKeyPress
onKeyPressCapture
警告
此 API 現已淘汰。
Use onKeyUpCapture or onKeyDownCapture instead
onKeyPressCapture?: KeyboardEventHandler<HTMLElement>
屬性值
KeyboardEventHandler<HTMLElement>
繼承自 IMessageBarProps.onKeyPressCapture
onKeyUp
onKeyUp?: KeyboardEventHandler<HTMLElement>
屬性值
KeyboardEventHandler<HTMLElement>
繼承自 IMessageBarProps.onKeyUp
onKeyUpCapture
onKeyUpCapture?: KeyboardEventHandler<HTMLElement>
屬性值
KeyboardEventHandler<HTMLElement>
繼承自 IMessageBarProps.onKeyUpCapture
onLoad
onLoad?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onLoad
onLoadCapture
onLoadCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onLoadCapture
onLoadedData
onLoadedData?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onLoadedData
onLoadedDataCapture
onLoadedDataCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onLoadedDataCapture
onLoadedMetadata
onLoadedMetadata?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onLoadedMetadata
onLoadedMetadataCapture
onLoadedMetadataCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onLoadedMetadataCapture
onLoadStart
onLoadStart?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onLoadStart
onLoadStartCapture
onLoadStartCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onLoadStartCapture
onLostPointerCapture
onLostPointerCapture?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onLostPointerCapture
onLostPointerCaptureCapture
onLostPointerCaptureCapture?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onLostPointerCaptureCapture
onMouseDown
onMouseDown?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onMouseDown
onMouseDownCapture
onMouseDownCapture?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onMouseDownCapture
onMouseEnter
onMouseEnter?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onMouseEnter
onMouseLeave
onMouseLeave?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onMouseLeave
onMouseMove
onMouseMove?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onMouseMove
onMouseMoveCapture
onMouseMoveCapture?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onMouseMoveCapture
onMouseOut
onMouseOut?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onMouseOut
onMouseOutCapture
onMouseOutCapture?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onMouseOutCapture
onMouseOver
onMouseOver?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onMouseOver
onMouseOverCapture
onMouseOverCapture?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onMouseOverCapture
onMouseUp
onMouseUp?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onMouseUp
onMouseUpCapture
onMouseUpCapture?: MouseEventHandler<HTMLElement>
屬性值
MouseEventHandler<HTMLElement>
繼承自 IMessageBarProps.onMouseUpCapture
onPaste
onPaste?: ClipboardEventHandler<HTMLElement>
屬性值
ClipboardEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPaste
onPasteCapture
onPasteCapture?: ClipboardEventHandler<HTMLElement>
屬性值
ClipboardEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPasteCapture
onPause
onPause?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPause
onPauseCapture
onPauseCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPauseCapture
onPlay
onPlay?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPlay
onPlayCapture
onPlayCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPlayCapture
onPlaying
onPlaying?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPlaying
onPlayingCapture
onPlayingCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPlayingCapture
onPointerCancel
onPointerCancel?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPointerCancel
onPointerCancelCapture
onPointerCancelCapture?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPointerCancelCapture
onPointerDown
onPointerDown?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPointerDown
onPointerDownCapture
onPointerDownCapture?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPointerDownCapture
onPointerEnter
onPointerEnter?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPointerEnter
onPointerLeave
onPointerLeave?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPointerLeave
onPointerMove
onPointerMove?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPointerMove
onPointerMoveCapture
onPointerMoveCapture?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPointerMoveCapture
onPointerOut
onPointerOut?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPointerOut
onPointerOutCapture
onPointerOutCapture?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPointerOutCapture
onPointerOver
onPointerOver?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPointerOver
onPointerOverCapture
onPointerOverCapture?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPointerOverCapture
onPointerUp
onPointerUp?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPointerUp
onPointerUpCapture
onPointerUpCapture?: PointerEventHandler<HTMLElement>
屬性值
PointerEventHandler<HTMLElement>
繼承自 IMessageBarProps.onPointerUpCapture
onProgress
onProgress?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onProgress
onProgressCapture
onProgressCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onProgressCapture
onRateChange
onRateChange?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onRateChange
onRateChangeCapture
onRateChangeCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onRateChangeCapture
onReset
onReset?: FormEventHandler<HTMLElement>
屬性值
FormEventHandler<HTMLElement>
繼承自 IMessageBarProps.onReset
onResetCapture
onResetCapture?: FormEventHandler<HTMLElement>
屬性值
FormEventHandler<HTMLElement>
繼承自 IMessageBarProps.onResetCapture
onScroll
onScroll?: UIEventHandler<HTMLElement>
屬性值
UIEventHandler<HTMLElement>
繼承自 IMessageBarProps.onScroll
onScrollCapture
onScrollCapture?: UIEventHandler<HTMLElement>
屬性值
UIEventHandler<HTMLElement>
繼承自 IMessageBarProps.onScrollCapture
onSeeked
onSeeked?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onSeeked
onSeekedCapture
onSeekedCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onSeekedCapture
onSeeking
onSeeking?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onSeeking
onSeekingCapture
onSeekingCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onSeekingCapture
onSelect
onSelect?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onSelect
onSelectCapture
onSelectCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onSelectCapture
onStalled
onStalled?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onStalled
onStalledCapture
onStalledCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onStalledCapture
onSubmit
onSubmit?: FormEventHandler<HTMLElement>
屬性值
FormEventHandler<HTMLElement>
繼承自 IMessageBarProps.onSubmit
onSubmitCapture
onSubmitCapture?: FormEventHandler<HTMLElement>
屬性值
FormEventHandler<HTMLElement>
繼承自 IMessageBarProps.onSubmitCapture
onSuspend
onSuspend?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onSuspend
onSuspendCapture
onSuspendCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onSuspendCapture
onTimeUpdate
onTimeUpdate?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onTimeUpdate
onTimeUpdateCapture
onTimeUpdateCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onTimeUpdateCapture
onTouchCancel
onTouchCancel?: TouchEventHandler<HTMLElement>
屬性值
TouchEventHandler<HTMLElement>
繼承自 IMessageBarProps.onTouchCancel
onTouchCancelCapture
onTouchCancelCapture?: TouchEventHandler<HTMLElement>
屬性值
TouchEventHandler<HTMLElement>
繼承自 IMessageBarProps.onTouchCancelCapture
onTouchEnd
onTouchEnd?: TouchEventHandler<HTMLElement>
屬性值
TouchEventHandler<HTMLElement>
繼承自 IMessageBarProps.onTouchEnd
onTouchEndCapture
onTouchEndCapture?: TouchEventHandler<HTMLElement>
屬性值
TouchEventHandler<HTMLElement>
繼承自 IMessageBarProps.onTouchEndCapture
onTouchMove
onTouchMove?: TouchEventHandler<HTMLElement>
屬性值
TouchEventHandler<HTMLElement>
繼承自 IMessageBarProps.onTouchMove
onTouchMoveCapture
onTouchMoveCapture?: TouchEventHandler<HTMLElement>
屬性值
TouchEventHandler<HTMLElement>
繼承自 IMessageBarProps.onTouchMoveCapture
onTouchStart
onTouchStart?: TouchEventHandler<HTMLElement>
屬性值
TouchEventHandler<HTMLElement>
繼承自 IMessageBarProps.onTouchStart
onTouchStartCapture
onTouchStartCapture?: TouchEventHandler<HTMLElement>
屬性值
TouchEventHandler<HTMLElement>
繼承自 IMessageBarProps.onTouchStartCapture
onTransitionEnd
onTransitionEnd?: TransitionEventHandler<HTMLElement>
屬性值
TransitionEventHandler<HTMLElement>
繼承自 IMessageBarProps.onTransitionEnd
onTransitionEndCapture
onTransitionEndCapture?: TransitionEventHandler<HTMLElement>
屬性值
TransitionEventHandler<HTMLElement>
繼承自 IMessageBarProps.onTransitionEndCapture
onVolumeChange
onVolumeChange?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onVolumeChange
onVolumeChangeCapture
onVolumeChangeCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onVolumeChangeCapture
onWaiting
onWaiting?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onWaiting
onWaitingCapture
onWaitingCapture?: ReactEventHandler<HTMLElement>
屬性值
ReactEventHandler<HTMLElement>
繼承自 IMessageBarProps.onWaitingCapture
onWheel
onWheel?: WheelEventHandler<HTMLElement>
屬性值
WheelEventHandler<HTMLElement>
繼承自 IMessageBarProps.onWheel
onWheelCapture
onWheelCapture?: WheelEventHandler<HTMLElement>
屬性值
WheelEventHandler<HTMLElement>
繼承自 IMessageBarProps.onWheelCapture
overflowButtonAriaLabel
警告
此 API 現已淘汰。
Use expandButtonProps instead.
如果已定義截斷,則溢位按鈕上的 Aria 標籤。
overflowButtonAriaLabel?: string
屬性值
string
繼承自 IMessageBarProps.overflowButtonAriaLabel
part
請參閱 https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part
part?: string
屬性值
string
繼承自 IMessageBarProps.part
prefix
prefix?: string
屬性值
string
繼承自 IMessageBarProps.prefix
property
property?: string
屬性值
string
繼承自 IMessageBarProps.property
radioGroup
radioGroup?: string
屬性值
string
繼承自 IMessageBarProps.radioGroup
ref
允許獲取元件實例的 ref。
一旦元件卸載,React 將設置為 ref.currentnull (如果你傳遞了回調 ref,則 null 使用 調用 ref)。
查看 React 文件
ref?: LegacyRef<HTMLDivElement>
屬性值
LegacyRef<HTMLDivElement>
繼承自 IMessageBarProps.ref
rel
rel?: string
屬性值
string
繼承自 IMessageBarProps.rel
resource
resource?: string
屬性值
string
繼承自 IMessageBarProps.resource
results
results?: number
屬性值
number
繼承自 IMessageBarProps.results
rev
rev?: string
屬性值
string
繼承自 IMessageBarProps.rev
role
要套用至 MessageBar 的自定義角色。
role?: "none" | "alert" | "status"
屬性值
"none" | "alert" | "status"
繼承自 IMessageBarProps.role
security
security?: string
屬性值
string
繼承自 IMessageBarProps.security
showExpandButton
用於顯示展開/摺疊圖示的可選覆蓋。 默認情況下,它只會對沒有 action 的單行截斷 MessageBars 顯示。
showExpandButton?: boolean
屬性值
boolean
繼承自 IMessageBarProps.showExpandButton
slot
slot?: string
屬性值
string
繼承自 IMessageBarProps.slot
spellCheck
spellCheck?: Booleanish
屬性值
Booleanish
繼承自 IMessageBarProps.spellCheck
style
style?: CSSProperties
屬性值
CSSProperties
繼承自 IMessageBarProps.style
styles
呼叫 以提供自定義樣式,以在變體規則之上分層。
styles?: IStyleFunctionOrObject<IMessageBarStyleProps, IMessageBarStyles>
屬性值
IStyleFunctionOrObject<IMessageBarStyleProps, IMessageBarStyles>
繼承自 IMessageBarProps.styles
suppressContentEditableWarning
suppressContentEditableWarning?: boolean
屬性值
boolean
繼承自 IMessageBarProps.suppressContentEditableWarning
suppressHydrationWarning
suppressHydrationWarning?: boolean
屬性值
boolean
繼承自 IMessageBarProps.suppressHydrationWarning
tabIndex
tabIndex?: number
屬性值
number
繼承自 IMessageBarProps.tabIndex
theme
主題 (透過自定義提供。
theme?: ITheme
屬性值
ITheme
繼承自 IMessageBarProps.theme
title
title?: string
屬性值
string
繼承自 IMessageBarProps.title
translate
translate?: "yes" | "no"
屬性值
"yes" | "no"
繼承自 IMessageBarProps.translate
truncated
判斷消息列文字是否已截斷。 如果為 true,按鈕將會轉譯以在單一線條檢視和多行檢視之間切換。 此屬性適用於單行消息列,而只有有限的空間案例中沒有按鈕。
truncated?: boolean
屬性值
boolean
繼承自 IMessageBarProps.truncated
typeof
typeof?: string
屬性值
string
繼承自 IMessageBarProps.typeof
unselectable
unselectable?: "off" | "on"
屬性值
"off" | "on"
繼承自 IMessageBarProps.unselectable
vocab
vocab?: string
屬性值
string
繼承自 IMessageBarProps.vocab