PanelWidget
Extends
Component<React.PropsWithChildren<PanelWidgetProps>,PanelWidgetState>
Constructors
Constructor
new PanelWidget(props): PanelWidget;
Parameters
| Parameter | Type |
|---|---|
props | PanelWidgetProps |
Returns
PanelWidget
Overrides
React.Component<React.PropsWithChildren<PanelWidgetProps>, PanelWidgetState>.constructor
Properties
| Property | Type |
|---|---|
listener | (event) => any |
ref | RefObject<HTMLDivElement> |
Methods
componentDidCatch()
componentDidCatch(error, errorInfo): void;
Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.
Parameters
| Parameter | Type |
|---|---|
error | Error |
errorInfo | ErrorInfo |
Returns
void
Overrides
React.Component.componentDidCatch
componentDidMount()
componentDidMount(): void;
Called immediately after a component is mounted. Setting state here will trigger re-rendering.
Returns
void
Overrides
React.Component.componentDidMount
componentWillUnmount()
componentWillUnmount(): void;
Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as
cancelled network requests, or cleaning up any DOM elements created in componentDidMount.
Returns
void
Overrides
React.Component.componentWillUnmount
getContent()
getContent(selected): Element;
Parameters
| Parameter | Type |
|---|---|
selected | boolean |
Returns
Element
render()
render(): Element;
Returns
Element
Overrides
React.Component.render