DOMUtil.getPreviousCousin() function
DOMUtil.getPreviousCousin() function
Signature
export declare function getPreviousCousin(node: any, selector: string): any;
Import
import { DOMUtil } from '@grafana/ui';
const { getPreviousCousin } = DOMUtil;
Parameters
Parameter | Type | Description |
---|---|---|
node | any | |
selector | string |
Returns:
any