@umbraco-ui/uui-base
Version:
This is a base dependency for Umbraco UI components. It contains mixins, animations, abstract base classes, UUIEvent base class, and universal types for properties shared by different components
24 lines (23 loc) • 670 B
TypeScript
import { LitElement } from 'lit';
type Constructor<T = {}> = new (...args: any[]) => T;
export declare class PopoverTargetMixinInterface {
/**
* Set a popovertarget.
* @type {string}
* @attr
* @default undefined
*/
popoverContainerElement?: string;
/**
* Toggle the popover.
*/
protected _togglePopover(): void;
}
/**
* This mixin provides popover target functionality to other components.
*
* @param {Object} superClass - superclass to be extended.
* @mixin
*/
export declare const PopoverTargetMixin: <T extends Constructor<LitElement>>(superClass: T) => Constructor<PopoverTargetMixinInterface> & T;
export {};