ContextSubMenu Class
Deprecated in 4.16.0. Use subMenuItems
property [[iTwinUI MenuItem]] component instead.
Submenu wrapper class for use within a ContextMenu component.
Extends
- React.Component<ContextSubMenuProps, ContextSubMenuState>
Methods
Name | Description | |
---|---|---|
constructor(props: ContextSubMenuProps): ContextSubMenu | ||
close(propagate?: boolean): void | ||
componentDidMount(): void | ||
componentDidUpdate(prevProps: ContextSubMenuProps, prevState: ContextSubMenuState): void | ||
componentWillUnmount(): void | ||
render(): React.ReactElement<any, string | React.JSXElementConstructor<any>> | ||
select(): void |
Properties
Name | Type | Description | |
---|---|---|---|
defaultProps Static | Partial<ContextSubMenuProps> | ||
state Readonly | Readonly<ContextSubMenuState> |
Defined in
Last Updated: 20 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.