Skip to components
DEVELOPER REFERENCE · v4.0.0

StatusFeedbackPanel API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

StatusFeedbackPanel12 props3 callbacks6 methods

Props12

StatusFeedbackPanel props
NameTypeDescription
autoDismissMsOptionalnumber | undefinedComponent adapters only: dismiss settled neutral/success items after this delay. Disabled by default.
compactOptionalboolean | undefinedUses the compact feedback panel layout.
closeLabelOptionalstring | undefinedAccessible text for the close action.
localeTextOptional
Partial<StatusFeedbackLocaleText> | undefinedInspect type
Overrides the feedback panel UI strings without replacing unspecified defaults.
titleRequiredstringHeading or title text used by this component.
itemsRequired
readonly StatusFeedbackItem[]Inspect type
Ordered items to render. Each item follows the shape shown in the expanded type.
ariaLabelOptionalstring | undefinedAccessible name announced by assistive technology.
classNameOptionalstring | undefinedAdditional CSS classes applied to the component root.
collapsedOptionalboolean | undefinedWhether the feedback panel details are collapsed.
collapseLabelOptionalstring | undefinedAccessible text for collapsing the section.
expandLabelOptionalstring | undefinedAccessible text for expanding the section.
popoverOptional
StatusFeedbackPopoverController | undefinedInspect type
Popover controller used to position, open and close the feedback surface.

Events and callbacks3

StatusFeedbackPanel events and callbacks
NameTypeDescription
onDismissItemOptional
((id: string) => void) | undefinedInspect type
The owner removes the item after its exit animation.
onCloseOptional
(() => void) | undefinedInspect type
Requests that the parent close the surface or picker.
onCollapsedChangeOptional
((collapsed: boolean) => void) | undefinedInspect type
Receives the new collapsed state when the feedback panel is toggled.

Methods6

StatusFeedbackPanel methods
NameSignatureDescription
StatusFeedbackPopoverController.anchorRef
(element?: HTMLElement | null) => voidInspect type

Available through popover.

StatusFeedbackPopoverController.panelRef
(element?: HTMLElement | null) => voidInspect type

Available through popover.

StatusFeedbackPopoverController.setCollapsed
(collapsed: boolean) => voidInspect type

Available through popover.

StatusFeedbackPopoverController.refresh
() => voidInspect type
Call after rendering items; sizing is measured after the renderer finishes its patch.

Available through popover.

StatusFeedbackPopoverController.hide
(animate?: boolean) => voidInspect type

Available through popover.

StatusFeedbackPopoverController.destroy
() => voidInspect type

Available through popover.