ContextSubMenu Class

Deprecated  in 4.16.0. Use subMenuItems property [[iTwinUI MenuItem]] component instead.

Submenu wrapper class for use within a ContextMenu component.

Extends

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: 14 November, 2024