ErrorBarProps interface

Props for ErrorBar.

In addition to the following, ErrorBar forwards all <xref:%40fluentui%2Freact%23IMessageBarProps> to the underlying <xref:%40fluentui%2Freact%23MessageBar>.

Extends

IMessageBarProps

Properties

activeErrorMessages

Currently active errors.

ignorePremountErrors

If set, errors with timestamp older than the time this component is mounted are not shown.

This is useful when using the ErrorBar with a stateful client that handles more than one call or chat thread. Set this prop to ignore errors from previous call or chat.

strings

Strings shown on the UI on errors.

Inherited Properties

about
accessKey
actions

The actions you want to show on the other side.

aria-activedescendant

Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.

aria-atomic

Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.

aria-autocomplete

Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.

aria-busy

Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.

aria-checked

Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.

See aria-pressed See aria-selected.

aria-colcount

Defines the total number of columns in a table, grid, or treegrid.

See aria-colindex.

aria-colindex

Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.

See aria-colcount See aria-colspan.

aria-colspan

Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.

See aria-colindex See aria-rowspan.

aria-controls

Identifies the element (or elements) whose contents or presence are controlled by the current element.

See aria-owns.

aria-current

Indicates the element that represents the current item within a container or set of related elements.

aria-describedby

Identifies the element (or elements) that describes the object.

See aria-labelledby

aria-details

Identifies the element that provides a detailed, extended description for the object.

See aria-describedby.

aria-disabled

Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.

See aria-hidden See aria-readonly.

aria-dropeffect

Indicates what functions can be performed when a dragged object is released on the drop target.

aria-errormessage

Identifies the element that provides an error message for the object.

See aria-invalid See aria-describedby.

aria-expanded

Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.

aria-flowto

Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.

aria-grabbed

Indicates an element's "grabbed" state in a drag-and-drop operation.

aria-haspopup

Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.

aria-hidden

Indicates whether the element is exposed to an accessibility API.

See aria-disabled.

aria-invalid

Indicates the entered value does not conform to the format expected by the application.

See aria-errormessage.

aria-keyshortcuts

Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.

aria-label

Defines a string value that labels the current element.

See aria-labelledby.

aria-labelledby

Identifies the element (or elements) that labels the current element.

See aria-describedby.

aria-level

Defines the hierarchical level of an element within a structure.

aria-live

Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.

aria-modal

Indicates whether an element is modal when displayed.

aria-multiline

Indicates whether a text box accepts multiple lines of input or only a single line.

aria-multiselectable

Indicates that the user may select more than one item from the current selectable descendants.

aria-orientation

Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.

aria-owns

Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.

See aria-controls.

aria-placeholder

Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.

aria-posinset

Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

See aria-setsize.

aria-pressed

Indicates the current "pressed" state of toggle buttons.

See aria-checked See aria-selected.

aria-readonly

Indicates that the element is not editable, but is otherwise operable.

See aria-disabled.

aria-relevant

Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.

See aria-atomic.

aria-required

Indicates that user input is required on the element before a form may be submitted.

aria-roledescription

Defines a human-readable, author-localized description for the role of an element.

aria-rowcount

Defines the total number of rows in a table, grid, or treegrid.

See aria-rowindex.

aria-rowindex

Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.

See aria-rowcount See aria-rowspan.

aria-rowspan

Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.

See aria-rowindex See aria-colspan.

aria-selected

Indicates the current "selected" state of various widgets.

See aria-checked See aria-pressed.

aria-setsize

Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

See aria-posinset.

aria-sort

Indicates if items in a table or grid are sorted in ascending or descending order.

aria-valuemax

Defines the maximum allowed value for a range widget.

aria-valuemin

Defines the minimum allowed value for a range widget.

aria-valuenow

Defines the current value for a range widget.

See aria-valuetext.

aria-valuetext

Defines the human readable text alternative of aria-valuenow for a range widget.

ariaLabel

A description of the message bar for the benefit of screen readers.

autoCapitalize
autoCorrect
autoFocus
autoSave
children
className

Additional CSS class(es) to apply to the MessageBar.

color
componentRef

Optional callback to access the IMessageBar interface. Use this instead of ref for accessing the public methods and properties of the component.

content
contentEditable
contextMenu
dangerouslySetInnerHTML
datatype
defaultChecked
defaultValue
delayedRender

By default, MessageBar delay-renders its content within an internal live region to help ensure it's announced by screen readers. You can disable that behavior by setting this prop to false.

If you set this prop to false, to ensure proper announcement you should either:

  • If appropriate, ensure that the role prop is set to alert (this will be done by default if messageBarType is error, blocked, or severeWarning), OR
  • Set the role prop to none (to avoid nested status regions), wrap the whole MessageBar in a <div role="status"> which is always rendered, and ensure that the MessageBar is rendered either conditionally or with a delay.
dir
dismissButtonAriaLabel

Aria label on dismiss button if onDismiss is defined.

dismissIconProps

Custom icon prop to replace the dismiss icon. If unset, default will be the Fabric Clear icon.

draggable
enterKeyHint
expandButtonProps

Button props that can be applied to the expand button of the MessageBar.

hidden
id
inlist
inputMode

Hints at the type of data that might be entered by the user while editing the element or its contents

See https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute

is

Specify that a standard HTML element should behave like a defined custom built-in element

See https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is

isMultiline

Determines if the message bar is multi lined. If false, and the text overflows over buttons or to another line, it is clipped.

itemID
itemProp
itemRef
itemScope
itemType
key
lang
messageBarIconProps

Custom icon prop to replace the message bar icon. If unset, default will be the icon set by messageBarType.

messageBarType

The type of MessageBar to render.

nonce
onAbort
onAbortCapture
onAnimationEnd
onAnimationEndCapture
onAnimationIteration
onAnimationIterationCapture
onAnimationStart
onAnimationStartCapture
onAuxClick
onAuxClickCapture
onBeforeInput
onBeforeInputCapture
onBlur
onBlurCapture
onCanPlay
onCanPlayCapture
onCanPlayThrough
onCanPlayThroughCapture
onChange
onChangeCapture
onClick
onClickCapture
onCompositionEnd
onCompositionEndCapture
onCompositionStart
onCompositionStartCapture
onCompositionUpdate
onCompositionUpdateCapture
onContextMenu
onContextMenuCapture
onCopy
onCopyCapture
onCut
onCutCapture
onDismiss

Whether the message bar has a dismiss button and its callback. If null, we don't show a dismiss button.

onDoubleClick
onDoubleClickCapture
onDrag
onDragCapture
onDragEnd
onDragEndCapture
onDragEnter
onDragEnterCapture
onDragExit
onDragExitCapture
onDragLeave
onDragLeaveCapture
onDragOver
onDragOverCapture
onDragStart
onDragStartCapture
onDrop
onDropCapture
onDurationChange
onDurationChangeCapture
onEmptied
onEmptiedCapture
onEncrypted
onEncryptedCapture
onEnded
onEndedCapture
onError
onErrorCapture
onFocus
onFocusCapture
onGotPointerCapture
onGotPointerCaptureCapture
onInput
onInputCapture
onInvalid
onInvalidCapture
onKeyDown
onKeyDownCapture
onKeyPress
onKeyPressCapture
onKeyUp
onKeyUpCapture
onLoad
onLoadCapture
onLoadedData
onLoadedDataCapture
onLoadedMetadata
onLoadedMetadataCapture
onLoadStart
onLoadStartCapture
onLostPointerCapture
onLostPointerCaptureCapture
onMouseDown
onMouseDownCapture
onMouseEnter
onMouseLeave
onMouseMove
onMouseMoveCapture
onMouseOut
onMouseOutCapture
onMouseOver
onMouseOverCapture
onMouseUp
onMouseUpCapture
onPaste
onPasteCapture
onPause
onPauseCapture
onPlay
onPlayCapture
onPlaying
onPlayingCapture
onPointerCancel
onPointerCancelCapture
onPointerDown
onPointerDownCapture
onPointerEnter
onPointerEnterCapture
onPointerLeave
onPointerLeaveCapture
onPointerMove
onPointerMoveCapture
onPointerOut
onPointerOutCapture
onPointerOver
onPointerOverCapture
onPointerUp
onPointerUpCapture
onProgress
onProgressCapture
onRateChange
onRateChangeCapture
onReset
onResetCapture
onScroll
onScrollCapture
onSeeked
onSeekedCapture
onSeeking
onSeekingCapture
onSelect
onSelectCapture
onStalled
onStalledCapture
onSubmit
onSubmitCapture
onSuspend
onSuspendCapture
onTimeUpdate
onTimeUpdateCapture
onTouchCancel
onTouchCancelCapture
onTouchEnd
onTouchEndCapture
onTouchMove
onTouchMoveCapture
onTouchStart
onTouchStartCapture
onTransitionEnd
onTransitionEndCapture
onVolumeChange
onVolumeChangeCapture
onWaiting
onWaitingCapture
onWheel
onWheelCapture
overflowButtonAriaLabel

Aria label on overflow button if truncated is defined.

placeholder
prefix
property
radioGroup
ref
rel
resource
results
rev
role

Custom role to apply to the MessageBar.

security
slot
spellCheck
style
styles

Call to provide customized styling that will layer on top of the variant rules.

suppressContentEditableWarning
suppressHydrationWarning
tabIndex
theme

Theme (provided through customization.)

title
translate
truncated

Determines if the message bar text is truncated. If true, a button will render to toggle between a single line view and multiline view. This prop is for single line message bars with no buttons only in a limited space scenario.

typeof
unselectable
vocab

Property Details

activeErrorMessages

Currently active errors.

activeErrorMessages: ActiveErrorMessage[]

Property Value

ignorePremountErrors

If set, errors with timestamp older than the time this component is mounted are not shown.

This is useful when using the ErrorBar with a stateful client that handles more than one call or chat thread. Set this prop to ignore errors from previous call or chat.

ignorePremountErrors?: boolean

Property Value

boolean

strings

Strings shown on the UI on errors.

strings?: ErrorBarStrings

Property Value

Inherited Property Details

about

about?: string

Property Value

string

Inherited From IMessageBarProps.about

accessKey

accessKey?: string

Property Value

string

Inherited From IMessageBarProps.accessKey

actions

The actions you want to show on the other side.

actions?: Element

Property Value

Element

Inherited From IMessageBarProps.actions

aria-activedescendant

Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.

aria-activedescendant?: string

Property Value

string

Inherited From IMessageBarProps.aria-activedescendant

aria-atomic

Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.

aria-atomic?: Booleanish

Property Value

Booleanish

Inherited From IMessageBarProps.aria-atomic

aria-autocomplete

Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.

aria-autocomplete?: "list" | "none" | "inline" | "both"

Property Value

"list" | "none" | "inline" | "both"

Inherited From IMessageBarProps.aria-autocomplete

aria-busy

Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.

aria-busy?: Booleanish

Property Value

Booleanish

Inherited From IMessageBarProps.aria-busy

aria-checked

Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.

See aria-pressed See aria-selected.

aria-checked?: boolean | "true" | "false" | "mixed"

Property Value

boolean | "true" | "false" | "mixed"

Inherited From IMessageBarProps.aria-checked

aria-colcount

Defines the total number of columns in a table, grid, or treegrid.

See aria-colindex.

aria-colcount?: number

Property Value

number

Inherited From IMessageBarProps.aria-colcount

aria-colindex

Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.

See aria-colcount See aria-colspan.

aria-colindex?: number

Property Value

number

Inherited From IMessageBarProps.aria-colindex

aria-colspan

Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.

See aria-colindex See aria-rowspan.

aria-colspan?: number

Property Value

number

Inherited From IMessageBarProps.aria-colspan

aria-controls

Identifies the element (or elements) whose contents or presence are controlled by the current element.

See aria-owns.

aria-controls?: string

Property Value

string

Inherited From IMessageBarProps.aria-controls

aria-current

Indicates the element that represents the current item within a container or set of related elements.

aria-current?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"

Property Value

boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"

Inherited From IMessageBarProps.aria-current

aria-describedby

Identifies the element (or elements) that describes the object.

See aria-labelledby

aria-describedby?: string

Property Value

string

Inherited From IMessageBarProps.aria-describedby

aria-details

Identifies the element that provides a detailed, extended description for the object.

See aria-describedby.

aria-details?: string

Property Value

string

Inherited From IMessageBarProps.aria-details

aria-disabled

Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.

See aria-hidden See aria-readonly.

aria-disabled?: Booleanish

Property Value

Booleanish

Inherited From IMessageBarProps.aria-disabled

aria-dropeffect

Warning

This API is now deprecated.

in ARIA 1.1

Indicates what functions can be performed when a dragged object is released on the drop target.

aria-dropeffect?: "link" | "none" | "copy" | "execute" | "move" | "popup"

Property Value

"link" | "none" | "copy" | "execute" | "move" | "popup"

Inherited From IMessageBarProps.aria-dropeffect

aria-errormessage

Identifies the element that provides an error message for the object.

See aria-invalid See aria-describedby.

aria-errormessage?: string

Property Value

string

Inherited From IMessageBarProps.aria-errormessage

aria-expanded

Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.

aria-expanded?: Booleanish

Property Value

Booleanish

Inherited From IMessageBarProps.aria-expanded

aria-flowto

Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.

aria-flowto?: string

Property Value

string

Inherited From IMessageBarProps.aria-flowto

aria-grabbed

Warning

This API is now deprecated.

in ARIA 1.1

Indicates an element's "grabbed" state in a drag-and-drop operation.

aria-grabbed?: Booleanish

Property Value

Booleanish

Inherited From IMessageBarProps.aria-grabbed

aria-haspopup

Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.

aria-haspopup?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree"

Property Value

boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree"

Inherited From IMessageBarProps.aria-haspopup

aria-hidden

Indicates whether the element is exposed to an accessibility API.

See aria-disabled.

aria-hidden?: Booleanish

Property Value

Booleanish

Inherited From IMessageBarProps.aria-hidden

aria-invalid

Indicates the entered value does not conform to the format expected by the application.

See aria-errormessage.

aria-invalid?: boolean | "true" | "false" | "grammar" | "spelling"

Property Value

boolean | "true" | "false" | "grammar" | "spelling"

Inherited From IMessageBarProps.aria-invalid

aria-keyshortcuts

Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.

aria-keyshortcuts?: string

Property Value

string

Inherited From IMessageBarProps.aria-keyshortcuts

aria-label

Defines a string value that labels the current element.

See aria-labelledby.

aria-label?: string

Property Value

string

Inherited From IMessageBarProps.aria-label

aria-labelledby

Identifies the element (or elements) that labels the current element.

See aria-describedby.

aria-labelledby?: string

Property Value

string

Inherited From IMessageBarProps.aria-labelledby

aria-level

Defines the hierarchical level of an element within a structure.

aria-level?: number

Property Value

number

Inherited From IMessageBarProps.aria-level

aria-live

Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.

aria-live?: "off" | "assertive" | "polite"

Property Value

"off" | "assertive" | "polite"

Inherited From IMessageBarProps.aria-live

aria-modal

Indicates whether an element is modal when displayed.

aria-modal?: Booleanish

Property Value

Booleanish

Inherited From IMessageBarProps.aria-modal

aria-multiline

Indicates whether a text box accepts multiple lines of input or only a single line.

aria-multiline?: Booleanish

Property Value

Booleanish

Inherited From IMessageBarProps.aria-multiline

aria-multiselectable

Indicates that the user may select more than one item from the current selectable descendants.

aria-multiselectable?: Booleanish

Property Value

Booleanish

Inherited From IMessageBarProps.aria-multiselectable

aria-orientation

Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.

aria-orientation?: "horizontal" | "vertical"

Property Value

"horizontal" | "vertical"

Inherited From IMessageBarProps.aria-orientation

aria-owns

Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.

See aria-controls.

aria-owns?: string

Property Value

string

Inherited From IMessageBarProps.aria-owns

aria-placeholder

Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.

aria-placeholder?: string

Property Value

string

Inherited From IMessageBarProps.aria-placeholder

aria-posinset

Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

See aria-setsize.

aria-posinset?: number

Property Value

number

Inherited From IMessageBarProps.aria-posinset

aria-pressed

Indicates the current "pressed" state of toggle buttons.

See aria-checked See aria-selected.

aria-pressed?: boolean | "true" | "false" | "mixed"

Property Value

boolean | "true" | "false" | "mixed"

Inherited From IMessageBarProps.aria-pressed

aria-readonly

Indicates that the element is not editable, but is otherwise operable.

See aria-disabled.

aria-readonly?: Booleanish

Property Value

Booleanish

Inherited From IMessageBarProps.aria-readonly

aria-relevant

Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.

See aria-atomic.

aria-relevant?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"

Property Value

"text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"

Inherited From IMessageBarProps.aria-relevant

aria-required

Indicates that user input is required on the element before a form may be submitted.

aria-required?: Booleanish

Property Value

Booleanish

Inherited From IMessageBarProps.aria-required

aria-roledescription

Defines a human-readable, author-localized description for the role of an element.

aria-roledescription?: string

Property Value

string

Inherited From IMessageBarProps.aria-roledescription

aria-rowcount

Defines the total number of rows in a table, grid, or treegrid.

See aria-rowindex.

aria-rowcount?: number

Property Value

number

Inherited From IMessageBarProps.aria-rowcount

aria-rowindex

Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.

See aria-rowcount See aria-rowspan.

aria-rowindex?: number

Property Value

number

Inherited From IMessageBarProps.aria-rowindex

aria-rowspan

Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.

See aria-rowindex See aria-colspan.

aria-rowspan?: number

Property Value

number

Inherited From IMessageBarProps.aria-rowspan

aria-selected

Indicates the current "selected" state of various widgets.

See aria-checked See aria-pressed.

aria-selected?: Booleanish

Property Value

Booleanish

Inherited From IMessageBarProps.aria-selected

aria-setsize

Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

See aria-posinset.

aria-setsize?: number

Property Value

number

Inherited From IMessageBarProps.aria-setsize

aria-sort

Indicates if items in a table or grid are sorted in ascending or descending order.

aria-sort?: "none" | "ascending" | "descending" | "other"

Property Value

"none" | "ascending" | "descending" | "other"

Inherited From IMessageBarProps.aria-sort

aria-valuemax

Defines the maximum allowed value for a range widget.

aria-valuemax?: number

Property Value

number

Inherited From IMessageBarProps.aria-valuemax

aria-valuemin

Defines the minimum allowed value for a range widget.

aria-valuemin?: number

Property Value

number

Inherited From IMessageBarProps.aria-valuemin

aria-valuenow

Defines the current value for a range widget.

See aria-valuetext.

aria-valuenow?: number

Property Value

number

Inherited From IMessageBarProps.aria-valuenow

aria-valuetext

Defines the human readable text alternative of aria-valuenow for a range widget.

aria-valuetext?: string

Property Value

string

Inherited From IMessageBarProps.aria-valuetext

ariaLabel

Warning

This API is now deprecated.

Use native prop aria-label instead.

A description of the message bar for the benefit of screen readers.

ariaLabel?: string

Property Value

string

Inherited From IMessageBarProps.ariaLabel

autoCapitalize

autoCapitalize?: string

Property Value

string

Inherited From IMessageBarProps.autoCapitalize

autoCorrect

autoCorrect?: string

Property Value

string

Inherited From IMessageBarProps.autoCorrect

autoFocus

autoFocus?: boolean

Property Value

boolean

Inherited From IMessageBarProps.autoFocus

autoSave

autoSave?: string

Property Value

string

Inherited From IMessageBarProps.autoSave

children

children?: ReactNode

Property Value

ReactNode

Inherited From IMessageBarProps.children

className

Additional CSS class(es) to apply to the MessageBar.

className?: string

Property Value

string

Inherited From IMessageBarProps.className

color

color?: string

Property Value

string

Inherited From IMessageBarProps.color

componentRef

Optional callback to access the IMessageBar interface. Use this instead of ref for accessing the public methods and properties of the component.

componentRef?: IRefObject<IMessageBar>

Property Value

IRefObject<IMessageBar>

Inherited From IMessageBarProps.componentRef

content

content?: string

Property Value

string

Inherited From IMessageBarProps.content

contentEditable

contentEditable?: Booleanish | "inherit"

Property Value

Booleanish | "inherit"

Inherited From IMessageBarProps.contentEditable

contextMenu

contextMenu?: string

Property Value

string

Inherited From IMessageBarProps.contextMenu

dangerouslySetInnerHTML

dangerouslySetInnerHTML?: { __html: string | TrustedHTML }

Property Value

{ __html: string | TrustedHTML }

Inherited From IMessageBarProps.dangerouslySetInnerHTML

datatype

datatype?: string

Property Value

string

Inherited From IMessageBarProps.datatype

defaultChecked

defaultChecked?: boolean

Property Value

boolean

Inherited From IMessageBarProps.defaultChecked

defaultValue

defaultValue?: string | number | (readonly string[])

Property Value

string | number | (readonly string[])

Inherited From IMessageBarProps.defaultValue

delayedRender

By default, MessageBar delay-renders its content within an internal live region to help ensure it's announced by screen readers. You can disable that behavior by setting this prop to false.

If you set this prop to false, to ensure proper announcement you should either:

  • If appropriate, ensure that the role prop is set to alert (this will be done by default if messageBarType is error, blocked, or severeWarning), OR
  • Set the role prop to none (to avoid nested status regions), wrap the whole MessageBar in a <div role="status"> which is always rendered, and ensure that the MessageBar is rendered either conditionally or with a delay.
delayedRender?: boolean

Property Value

boolean

Inherited From IMessageBarProps.delayedRender

dir

dir?: string

Property Value

string

Inherited From IMessageBarProps.dir

dismissButtonAriaLabel

Aria label on dismiss button if onDismiss is defined.

dismissButtonAriaLabel?: string

Property Value

string

Inherited From IMessageBarProps.dismissButtonAriaLabel

dismissIconProps

Custom icon prop to replace the dismiss icon. If unset, default will be the Fabric Clear icon.

dismissIconProps?: IIconProps

Property Value

IIconProps

Inherited From IMessageBarProps.dismissIconProps

draggable

draggable?: Booleanish

Property Value

Booleanish

Inherited From IMessageBarProps.draggable

enterKeyHint

enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send"

Property Value

"enter" | "done" | "go" | "next" | "previous" | "search" | "send"

Inherited From IMessageBarProps.enterKeyHint

expandButtonProps

Button props that can be applied to the expand button of the MessageBar.

expandButtonProps?: IButtonProps

Property Value

IButtonProps

Inherited From IMessageBarProps.expandButtonProps

hidden

hidden?: boolean

Property Value

boolean

Inherited From IMessageBarProps.hidden

id

id?: string

Property Value

string

Inherited From IMessageBarProps.id

inlist

inlist?: any

Property Value

any

Inherited From IMessageBarProps.inlist

inputMode

Hints at the type of data that might be entered by the user while editing the element or its contents

See https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute

inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal"

Property Value

"search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal"

Inherited From IMessageBarProps.inputMode

is

Specify that a standard HTML element should behave like a defined custom built-in element

See https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is

is?: string

Property Value

string

Inherited From IMessageBarProps.is

isMultiline

Determines if the message bar is multi lined. If false, and the text overflows over buttons or to another line, it is clipped.

isMultiline?: boolean

Property Value

boolean

Inherited From IMessageBarProps.isMultiline

itemID

itemID?: string

Property Value

string

Inherited From IMessageBarProps.itemID

itemProp

itemProp?: string

Property Value

string

Inherited From IMessageBarProps.itemProp

itemRef

itemRef?: string

Property Value

string

Inherited From IMessageBarProps.itemRef

itemScope

itemScope?: boolean

Property Value

boolean

Inherited From IMessageBarProps.itemScope

itemType

itemType?: string

Property Value

string

Inherited From IMessageBarProps.itemType

key

key?: null | Key

Property Value

null | Key

Inherited From IMessageBarProps.key

lang

lang?: string

Property Value

string

Inherited From IMessageBarProps.lang

messageBarIconProps

Custom icon prop to replace the message bar icon. If unset, default will be the icon set by messageBarType.

messageBarIconProps?: IIconProps

Property Value

IIconProps

Inherited From IMessageBarProps.messageBarIconProps

messageBarType

The type of MessageBar to render.

messageBarType?: MessageBarType

Property Value

MessageBarType

Inherited From IMessageBarProps.messageBarType

nonce

nonce?: string

Property Value

string

Inherited From IMessageBarProps.nonce

onAbort

onAbort?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onAbort

onAbortCapture

onAbortCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onAbortCapture

onAnimationEnd

onAnimationEnd?: AnimationEventHandler<HTMLElement>

Property Value

AnimationEventHandler<HTMLElement>

Inherited From IMessageBarProps.onAnimationEnd

onAnimationEndCapture

onAnimationEndCapture?: AnimationEventHandler<HTMLElement>

Property Value

AnimationEventHandler<HTMLElement>

Inherited From IMessageBarProps.onAnimationEndCapture

onAnimationIteration

onAnimationIteration?: AnimationEventHandler<HTMLElement>

Property Value

AnimationEventHandler<HTMLElement>

Inherited From IMessageBarProps.onAnimationIteration

onAnimationIterationCapture

onAnimationIterationCapture?: AnimationEventHandler<HTMLElement>

Property Value

AnimationEventHandler<HTMLElement>

Inherited From IMessageBarProps.onAnimationIterationCapture

onAnimationStart

onAnimationStart?: AnimationEventHandler<HTMLElement>

Property Value

AnimationEventHandler<HTMLElement>

Inherited From IMessageBarProps.onAnimationStart

onAnimationStartCapture

onAnimationStartCapture?: AnimationEventHandler<HTMLElement>

Property Value

AnimationEventHandler<HTMLElement>

Inherited From IMessageBarProps.onAnimationStartCapture

onAuxClick

onAuxClick?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onAuxClick

onAuxClickCapture

onAuxClickCapture?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onAuxClickCapture

onBeforeInput

onBeforeInput?: FormEventHandler<HTMLElement>

Property Value

FormEventHandler<HTMLElement>

Inherited From IMessageBarProps.onBeforeInput

onBeforeInputCapture

onBeforeInputCapture?: FormEventHandler<HTMLElement>

Property Value

FormEventHandler<HTMLElement>

Inherited From IMessageBarProps.onBeforeInputCapture

onBlur

onBlur?: FocusEventHandler<HTMLElement>

Property Value

FocusEventHandler<HTMLElement>

Inherited From IMessageBarProps.onBlur

onBlurCapture

onBlurCapture?: FocusEventHandler<HTMLElement>

Property Value

FocusEventHandler<HTMLElement>

Inherited From IMessageBarProps.onBlurCapture

onCanPlay

onCanPlay?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onCanPlay

onCanPlayCapture

onCanPlayCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onCanPlayCapture

onCanPlayThrough

onCanPlayThrough?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onCanPlayThrough

onCanPlayThroughCapture

onCanPlayThroughCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onCanPlayThroughCapture

onChange

onChange?: FormEventHandler<HTMLElement>

Property Value

FormEventHandler<HTMLElement>

Inherited From IMessageBarProps.onChange

onChangeCapture

onChangeCapture?: FormEventHandler<HTMLElement>

Property Value

FormEventHandler<HTMLElement>

Inherited From IMessageBarProps.onChangeCapture

onClick

onClick?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onClick

onClickCapture

onClickCapture?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onClickCapture

onCompositionEnd

onCompositionEnd?: CompositionEventHandler<HTMLElement>

Property Value

CompositionEventHandler<HTMLElement>

Inherited From IMessageBarProps.onCompositionEnd

onCompositionEndCapture

onCompositionEndCapture?: CompositionEventHandler<HTMLElement>

Property Value

CompositionEventHandler<HTMLElement>

Inherited From IMessageBarProps.onCompositionEndCapture

onCompositionStart

onCompositionStart?: CompositionEventHandler<HTMLElement>

Property Value

CompositionEventHandler<HTMLElement>

Inherited From IMessageBarProps.onCompositionStart

onCompositionStartCapture

onCompositionStartCapture?: CompositionEventHandler<HTMLElement>

Property Value

CompositionEventHandler<HTMLElement>

Inherited From IMessageBarProps.onCompositionStartCapture

onCompositionUpdate

onCompositionUpdate?: CompositionEventHandler<HTMLElement>

Property Value

CompositionEventHandler<HTMLElement>

Inherited From IMessageBarProps.onCompositionUpdate

onCompositionUpdateCapture

onCompositionUpdateCapture?: CompositionEventHandler<HTMLElement>

Property Value

CompositionEventHandler<HTMLElement>

Inherited From IMessageBarProps.onCompositionUpdateCapture

onContextMenu

onContextMenu?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onContextMenu

onContextMenuCapture

onContextMenuCapture?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onContextMenuCapture

onCopy

onCopy?: ClipboardEventHandler<HTMLElement>

Property Value

ClipboardEventHandler<HTMLElement>

Inherited From IMessageBarProps.onCopy

onCopyCapture

onCopyCapture?: ClipboardEventHandler<HTMLElement>

Property Value

ClipboardEventHandler<HTMLElement>

Inherited From IMessageBarProps.onCopyCapture

onCut

onCut?: ClipboardEventHandler<HTMLElement>

Property Value

ClipboardEventHandler<HTMLElement>

Inherited From IMessageBarProps.onCut

onCutCapture

onCutCapture?: ClipboardEventHandler<HTMLElement>

Property Value

ClipboardEventHandler<HTMLElement>

Inherited From IMessageBarProps.onCutCapture

onDismiss

Whether the message bar has a dismiss button and its callback. If null, we don't show a dismiss button.

onDismiss?: (ev?: MouseEvent<HTMLElement | BaseButton | Button, MouseEvent>) => any

Property Value

(ev?: MouseEvent<HTMLElement | BaseButton | Button, MouseEvent>) => any

Inherited From IMessageBarProps.onDismiss

onDoubleClick

onDoubleClick?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDoubleClick

onDoubleClickCapture

onDoubleClickCapture?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDoubleClickCapture

onDrag

onDrag?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDrag

onDragCapture

onDragCapture?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDragCapture

onDragEnd

onDragEnd?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDragEnd

onDragEndCapture

onDragEndCapture?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDragEndCapture

onDragEnter

onDragEnter?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDragEnter

onDragEnterCapture

onDragEnterCapture?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDragEnterCapture

onDragExit

onDragExit?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDragExit

onDragExitCapture

onDragExitCapture?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDragExitCapture

onDragLeave

onDragLeave?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDragLeave

onDragLeaveCapture

onDragLeaveCapture?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDragLeaveCapture

onDragOver

onDragOver?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDragOver

onDragOverCapture

onDragOverCapture?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDragOverCapture

onDragStart

onDragStart?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDragStart

onDragStartCapture

onDragStartCapture?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDragStartCapture

onDrop

onDrop?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDrop

onDropCapture

onDropCapture?: DragEventHandler<HTMLElement>

Property Value

DragEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDropCapture

onDurationChange

onDurationChange?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDurationChange

onDurationChangeCapture

onDurationChangeCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onDurationChangeCapture

onEmptied

onEmptied?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onEmptied

onEmptiedCapture

onEmptiedCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onEmptiedCapture

onEncrypted

onEncrypted?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onEncrypted

onEncryptedCapture

onEncryptedCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onEncryptedCapture

onEnded

onEnded?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onEnded

onEndedCapture

onEndedCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onEndedCapture

onError

onError?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onError

onErrorCapture

onErrorCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onErrorCapture

onFocus

onFocus?: FocusEventHandler<HTMLElement>

Property Value

FocusEventHandler<HTMLElement>

Inherited From IMessageBarProps.onFocus

onFocusCapture

onFocusCapture?: FocusEventHandler<HTMLElement>

Property Value

FocusEventHandler<HTMLElement>

Inherited From IMessageBarProps.onFocusCapture

onGotPointerCapture

onGotPointerCapture?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onGotPointerCapture

onGotPointerCaptureCapture

onGotPointerCaptureCapture?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onGotPointerCaptureCapture

onInput

onInput?: FormEventHandler<HTMLElement>

Property Value

FormEventHandler<HTMLElement>

Inherited From IMessageBarProps.onInput

onInputCapture

onInputCapture?: FormEventHandler<HTMLElement>

Property Value

FormEventHandler<HTMLElement>

Inherited From IMessageBarProps.onInputCapture

onInvalid

onInvalid?: FormEventHandler<HTMLElement>

Property Value

FormEventHandler<HTMLElement>

Inherited From IMessageBarProps.onInvalid

onInvalidCapture

onInvalidCapture?: FormEventHandler<HTMLElement>

Property Value

FormEventHandler<HTMLElement>

Inherited From IMessageBarProps.onInvalidCapture

onKeyDown

onKeyDown?: KeyboardEventHandler<HTMLElement>

Property Value

KeyboardEventHandler<HTMLElement>

Inherited From IMessageBarProps.onKeyDown

onKeyDownCapture

onKeyDownCapture?: KeyboardEventHandler<HTMLElement>

Property Value

KeyboardEventHandler<HTMLElement>

Inherited From IMessageBarProps.onKeyDownCapture

onKeyPress

Warning

This API is now deprecated.

onKeyPress?: KeyboardEventHandler<HTMLElement>

Property Value

KeyboardEventHandler<HTMLElement>

Inherited From IMessageBarProps.onKeyPress

onKeyPressCapture

Warning

This API is now deprecated.

onKeyPressCapture?: KeyboardEventHandler<HTMLElement>

Property Value

KeyboardEventHandler<HTMLElement>

Inherited From IMessageBarProps.onKeyPressCapture

onKeyUp

onKeyUp?: KeyboardEventHandler<HTMLElement>

Property Value

KeyboardEventHandler<HTMLElement>

Inherited From IMessageBarProps.onKeyUp

onKeyUpCapture

onKeyUpCapture?: KeyboardEventHandler<HTMLElement>

Property Value

KeyboardEventHandler<HTMLElement>

Inherited From IMessageBarProps.onKeyUpCapture

onLoad

onLoad?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onLoad

onLoadCapture

onLoadCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onLoadCapture

onLoadedData

onLoadedData?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onLoadedData

onLoadedDataCapture

onLoadedDataCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onLoadedDataCapture

onLoadedMetadata

onLoadedMetadata?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onLoadedMetadata

onLoadedMetadataCapture

onLoadedMetadataCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onLoadedMetadataCapture

onLoadStart

onLoadStart?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onLoadStart

onLoadStartCapture

onLoadStartCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onLoadStartCapture

onLostPointerCapture

onLostPointerCapture?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onLostPointerCapture

onLostPointerCaptureCapture

onLostPointerCaptureCapture?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onLostPointerCaptureCapture

onMouseDown

onMouseDown?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onMouseDown

onMouseDownCapture

onMouseDownCapture?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onMouseDownCapture

onMouseEnter

onMouseEnter?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onMouseEnter

onMouseLeave

onMouseLeave?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onMouseLeave

onMouseMove

onMouseMove?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onMouseMove

onMouseMoveCapture

onMouseMoveCapture?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onMouseMoveCapture

onMouseOut

onMouseOut?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onMouseOut

onMouseOutCapture

onMouseOutCapture?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onMouseOutCapture

onMouseOver

onMouseOver?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onMouseOver

onMouseOverCapture

onMouseOverCapture?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onMouseOverCapture

onMouseUp

onMouseUp?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onMouseUp

onMouseUpCapture

onMouseUpCapture?: MouseEventHandler<HTMLElement>

Property Value

MouseEventHandler<HTMLElement>

Inherited From IMessageBarProps.onMouseUpCapture

onPaste

onPaste?: ClipboardEventHandler<HTMLElement>

Property Value

ClipboardEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPaste

onPasteCapture

onPasteCapture?: ClipboardEventHandler<HTMLElement>

Property Value

ClipboardEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPasteCapture

onPause

onPause?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPause

onPauseCapture

onPauseCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPauseCapture

onPlay

onPlay?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPlay

onPlayCapture

onPlayCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPlayCapture

onPlaying

onPlaying?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPlaying

onPlayingCapture

onPlayingCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPlayingCapture

onPointerCancel

onPointerCancel?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerCancel

onPointerCancelCapture

onPointerCancelCapture?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerCancelCapture

onPointerDown

onPointerDown?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerDown

onPointerDownCapture

onPointerDownCapture?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerDownCapture

onPointerEnter

onPointerEnter?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerEnter

onPointerEnterCapture

Warning

This API is now deprecated.

This event handler was always ignored by React. It was added by mistake to the types.

onPointerEnterCapture?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerEnterCapture

onPointerLeave

onPointerLeave?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerLeave

onPointerLeaveCapture

Warning

This API is now deprecated.

This event handler was always ignored by React. It was added by mistake to the types.

onPointerLeaveCapture?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerLeaveCapture

onPointerMove

onPointerMove?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerMove

onPointerMoveCapture

onPointerMoveCapture?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerMoveCapture

onPointerOut

onPointerOut?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerOut

onPointerOutCapture

onPointerOutCapture?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerOutCapture

onPointerOver

onPointerOver?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerOver

onPointerOverCapture

onPointerOverCapture?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerOverCapture

onPointerUp

onPointerUp?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerUp

onPointerUpCapture

onPointerUpCapture?: PointerEventHandler<HTMLElement>

Property Value

PointerEventHandler<HTMLElement>

Inherited From IMessageBarProps.onPointerUpCapture

onProgress

onProgress?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onProgress

onProgressCapture

onProgressCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onProgressCapture

onRateChange

onRateChange?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onRateChange

onRateChangeCapture

onRateChangeCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onRateChangeCapture

onReset

onReset?: FormEventHandler<HTMLElement>

Property Value

FormEventHandler<HTMLElement>

Inherited From IMessageBarProps.onReset

onResetCapture

onResetCapture?: FormEventHandler<HTMLElement>

Property Value

FormEventHandler<HTMLElement>

Inherited From IMessageBarProps.onResetCapture

onScroll

onScroll?: UIEventHandler<HTMLElement>

Property Value

UIEventHandler<HTMLElement>

Inherited From IMessageBarProps.onScroll

onScrollCapture

onScrollCapture?: UIEventHandler<HTMLElement>

Property Value

UIEventHandler<HTMLElement>

Inherited From IMessageBarProps.onScrollCapture

onSeeked

onSeeked?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onSeeked

onSeekedCapture

onSeekedCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onSeekedCapture

onSeeking

onSeeking?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onSeeking

onSeekingCapture

onSeekingCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onSeekingCapture

onSelect

onSelect?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onSelect

onSelectCapture

onSelectCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onSelectCapture

onStalled

onStalled?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onStalled

onStalledCapture

onStalledCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onStalledCapture

onSubmit

onSubmit?: FormEventHandler<HTMLElement>

Property Value

FormEventHandler<HTMLElement>

Inherited From IMessageBarProps.onSubmit

onSubmitCapture

onSubmitCapture?: FormEventHandler<HTMLElement>

Property Value

FormEventHandler<HTMLElement>

Inherited From IMessageBarProps.onSubmitCapture

onSuspend

onSuspend?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onSuspend

onSuspendCapture

onSuspendCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onSuspendCapture

onTimeUpdate

onTimeUpdate?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onTimeUpdate

onTimeUpdateCapture

onTimeUpdateCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onTimeUpdateCapture

onTouchCancel

onTouchCancel?: TouchEventHandler<HTMLElement>

Property Value

TouchEventHandler<HTMLElement>

Inherited From IMessageBarProps.onTouchCancel

onTouchCancelCapture

onTouchCancelCapture?: TouchEventHandler<HTMLElement>

Property Value

TouchEventHandler<HTMLElement>

Inherited From IMessageBarProps.onTouchCancelCapture

onTouchEnd

onTouchEnd?: TouchEventHandler<HTMLElement>

Property Value

TouchEventHandler<HTMLElement>

Inherited From IMessageBarProps.onTouchEnd

onTouchEndCapture

onTouchEndCapture?: TouchEventHandler<HTMLElement>

Property Value

TouchEventHandler<HTMLElement>

Inherited From IMessageBarProps.onTouchEndCapture

onTouchMove

onTouchMove?: TouchEventHandler<HTMLElement>

Property Value

TouchEventHandler<HTMLElement>

Inherited From IMessageBarProps.onTouchMove

onTouchMoveCapture

onTouchMoveCapture?: TouchEventHandler<HTMLElement>

Property Value

TouchEventHandler<HTMLElement>

Inherited From IMessageBarProps.onTouchMoveCapture

onTouchStart

onTouchStart?: TouchEventHandler<HTMLElement>

Property Value

TouchEventHandler<HTMLElement>

Inherited From IMessageBarProps.onTouchStart

onTouchStartCapture

onTouchStartCapture?: TouchEventHandler<HTMLElement>

Property Value

TouchEventHandler<HTMLElement>

Inherited From IMessageBarProps.onTouchStartCapture

onTransitionEnd

onTransitionEnd?: TransitionEventHandler<HTMLElement>

Property Value

TransitionEventHandler<HTMLElement>

Inherited From IMessageBarProps.onTransitionEnd

onTransitionEndCapture

onTransitionEndCapture?: TransitionEventHandler<HTMLElement>

Property Value

TransitionEventHandler<HTMLElement>

Inherited From IMessageBarProps.onTransitionEndCapture

onVolumeChange

onVolumeChange?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onVolumeChange

onVolumeChangeCapture

onVolumeChangeCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onVolumeChangeCapture

onWaiting

onWaiting?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onWaiting

onWaitingCapture

onWaitingCapture?: ReactEventHandler<HTMLElement>

Property Value

ReactEventHandler<HTMLElement>

Inherited From IMessageBarProps.onWaitingCapture

onWheel

onWheel?: WheelEventHandler<HTMLElement>

Property Value

WheelEventHandler<HTMLElement>

Inherited From IMessageBarProps.onWheel

onWheelCapture

onWheelCapture?: WheelEventHandler<HTMLElement>

Property Value

WheelEventHandler<HTMLElement>

Inherited From IMessageBarProps.onWheelCapture

overflowButtonAriaLabel

Warning

This API is now deprecated.

Use expandButtonProps instead.

Aria label on overflow button if truncated is defined.

overflowButtonAriaLabel?: string

Property Value

string

Inherited From IMessageBarProps.overflowButtonAriaLabel

placeholder

placeholder?: string

Property Value

string

Inherited From IMessageBarProps.placeholder

prefix

prefix?: string

Property Value

string

Inherited From IMessageBarProps.prefix

property

property?: string

Property Value

string

Inherited From IMessageBarProps.property

radioGroup

radioGroup?: string

Property Value

string

Inherited From IMessageBarProps.radioGroup

ref

ref?: Ref<HTMLDivElement>

Property Value

Ref<HTMLDivElement>

Inherited From IMessageBarProps.ref

rel

rel?: string

Property Value

string

Inherited From IMessageBarProps.rel

resource

resource?: string

Property Value

string

Inherited From IMessageBarProps.resource

results

results?: number

Property Value

number

Inherited From IMessageBarProps.results

rev

rev?: string

Property Value

string

Inherited From IMessageBarProps.rev

role

Custom role to apply to the MessageBar.

role?: "alert" | "none" | "status"

Property Value

"alert" | "none" | "status"

Inherited From IMessageBarProps.role

security

security?: string

Property Value

string

Inherited From IMessageBarProps.security

slot

slot?: string

Property Value

string

Inherited From IMessageBarProps.slot

spellCheck

spellCheck?: Booleanish

Property Value

Booleanish

Inherited From IMessageBarProps.spellCheck

style

style?: CSSProperties

Property Value

CSSProperties

Inherited From IMessageBarProps.style

styles

Call to provide customized styling that will layer on top of the variant rules.

styles?: IStyleFunctionOrObject<IMessageBarStyleProps, IMessageBarStyles>

Property Value

IStyleFunctionOrObject<IMessageBarStyleProps, IMessageBarStyles>

Inherited From IMessageBarProps.styles

suppressContentEditableWarning

suppressContentEditableWarning?: boolean

Property Value

boolean

Inherited From IMessageBarProps.suppressContentEditableWarning

suppressHydrationWarning

suppressHydrationWarning?: boolean

Property Value

boolean

Inherited From IMessageBarProps.suppressHydrationWarning

tabIndex

tabIndex?: number

Property Value

number

Inherited From IMessageBarProps.tabIndex

theme

Theme (provided through customization.)

theme?: ITheme

Property Value

ITheme

Inherited From IMessageBarProps.theme

title

title?: string

Property Value

string

Inherited From IMessageBarProps.title

translate

translate?: "yes" | "no"

Property Value

"yes" | "no"

Inherited From IMessageBarProps.translate

truncated

Determines if the message bar text is truncated. If true, a button will render to toggle between a single line view and multiline view. This prop is for single line message bars with no buttons only in a limited space scenario.

truncated?: boolean

Property Value

boolean

Inherited From IMessageBarProps.truncated

typeof

typeof?: string

Property Value

string

Inherited From IMessageBarProps.typeof

unselectable

unselectable?: "on" | "off"

Property Value

"on" | "off"

Inherited From IMessageBarProps.unselectable

vocab

vocab?: string

Property Value

string

Inherited From IMessageBarProps.vocab