FilterMenuTrigger API
API reference docs for theFilterMenuTrigger
component. For examples and details on the usage of this component, visit the component demo page.
Props
The FilterMenuTrigger
component is a customizable trigger for a filter menu, built using the Button component. It inherits some Button props and adds few more additional functionalities.
Prop | Type | Description | Default |
---|---|---|---|
|
| The content to be displayed inside the button. | _ |
|
| Specifies the form element the button is associated with. | _ |
|
| The icon to display after the button children. | _ |
|
| The icon to display before the button children. | _ |
|
| If true, the button will display a loading indicator. |
|
|
| If true, the button will be visually styled as pressed and the aria-pressed attribute will be set accordingly. |
|
|
| Text to read out to assistive technologies when button is loading. | _ |
|
| Function to call when the button loses focus. | _ |
|
| Function to invoke when the button receives focus. | _ |
|
| Function to invoke when a key is pressed while the button is focused. | _ |
|
| Displays a placeholder text when no children is provided. | _ |