Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
PopoverController class
Signature
declare class PopoverController extends React.Component<Props, State>
Import
import { PopoverController } from '@grafana/ui';
Constructors
Constructor | Modifiers | Description |
---|---|---|
constructor(props) | Constructs a new instance of the PopoverController class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
hidePopper | () => void | ||
showPopper | () => void |
Methods
Method | Modifiers | Description |
---|---|---|
render() | ||
UNSAFE_componentWillReceiveProps(nextProps) |
constructor(props)
Constructs a new instance of the PopoverController
class
Signature
constructor(props: Props);
Parameters
Parameter | Type | Description |
---|---|---|
props | Props |
hidePopper property
Signature
hidePopper: () => void;
showPopper property
Signature
showPopper: () => void;
render method
Signature
render(): JSX.Element;
Returns:
JSX.Element
UNSAFE_componentWillReceiveProps method
Signature
UNSAFE_componentWillReceiveProps(nextProps: Props): void;
Parameters
Parameter | Type | Description |
---|---|---|
nextProps | Props |
Returns:
void