Menu

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.

Enterprise Open source

PopoverController class

Signature

typescript
declare class PopoverController extends React.Component<Props, State> 

Import

typescript
import { PopoverController } from '@grafana/ui';

Constructors

ConstructorModifiersDescription
constructor(props)Constructs a new instance of the PopoverController class

Properties

PropertyModifiersTypeDescription
hidePopper() => void
showPopper() => void

Methods

MethodModifiersDescription
render()
UNSAFE_componentWillReceiveProps(nextProps)

constructor(props)

Constructs a new instance of the PopoverController class

Signature

typescript
constructor(props: Props);

Parameters

ParameterTypeDescription
propsProps

hidePopper property

Signature

typescript
hidePopper: () => void;

showPopper property

Signature

typescript
showPopper: () => void;

render method

Signature

typescript
render(): JSX.Element;

Returns:

JSX.Element

UNSAFE_componentWillReceiveProps method

Signature

typescript
UNSAFE_componentWillReceiveProps(nextProps: Props): void;

Parameters

ParameterTypeDescription
nextPropsProps

Returns:

void