/** * Define positions that popover accepts */ export declare type TsPopoverPosition = 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'bottom-start' | 'left-start' | 'right-start' | 'top-end' | 'bottom-end' | 'left-end' | 'right-end' | 'auto' | 'auto-start' | 'auto-end'; /** * List of accepted positions */ export declare const tsPopoverPositions: string[]; /** * A class of defined positions. */ export declare class TsPopoverPositions { static Top: TsPopoverPosition; static Bottom: TsPopoverPosition; static Left: TsPopoverPosition; static Right: TsPopoverPosition; static TopStart: TsPopoverPosition; static BottomStart: TsPopoverPosition; static LeftStart: TsPopoverPosition; static RightStart: TsPopoverPosition; static TopEnd: TsPopoverPosition; static BottomEnd: TsPopoverPosition; static LeftEnd: TsPopoverPosition; static RightEnd: TsPopoverPosition; static Auto: TsPopoverPosition; static AutoStart: TsPopoverPosition; static AutoEnd: TsPopoverPosition; } /** * Define Trigger type. */ export declare type TsTrigger = 'click'; /** * A class of Triggers. */ export declare class TsTriggers { static CLICK: TsTrigger; } /** * Our defined option interface. */ export interface TsPopoverOptions { ariaRole?: string; trigger?: TsTrigger; placement?: TsPopoverPosition; popperModifiers?: {}; styles?: Object; }