AiRequestTrail API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
AiRequestTrail11 props3 callbacks0 methods
Props11
| Name | Type | Description |
|---|---|---|
translationsOptional |
| Overrides the default UI strings. Supply only the entries you want to translate and retain any placeholders. |
itemsRequired |
| Ordered items to render. Each item follows the shape shown in the expanded type. |
disabledOptional | boolean | undefined | Disables user interaction with the control. |
removalsDisabledOptional | boolean | undefined | Prevents removing request-trail steps while leaving the remaining presentation available. |
labelOptional | string | undefined | Label content or accessible name for the component, as rendered by this control. |
triggerLabelOptional |
| Formats the number of applied requests into the request-trail trigger label. |
clearLabelOptional | string | undefined | Text for the clear-all action. |
clearDescriptionOptional | string | undefined | Accessible explanation of what clearing the request trail does. |
removeLabelOptional |
| Accessible text or formatter for the remove-item action. |
countLabelOptional |
| Formats a count into localized display text. |
changedMessageOptional | string | undefined | Message shown when manual changes invalidate the current AI request trail. |
Events and callbacks3
| Name | Type | Description |
|---|---|---|
onRemoveRequired |
| Requests removal of the indicated item; the application owns updating its data. |
onClearRequired |
| Requests that the application clear the current list or selection. |
onEmptyOptional |
| Called when removing the final request leaves the request trail empty. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.