@kushki/ng-suka
Version:
<p align="center"> <h1 align="center">Suka Components Angular</h1> <p align="center"> An Angular implementation of the Suka Design System </p> </p>
29 lines (28 loc) • 810 B
TypeScript
import { ElementRef } from '@angular/core';
import { PopoverBody } from './popover-body.type';
import { PopoverService } from './popover.service';
export declare class Popover {
protected popoverService: PopoverService;
private elementRef;
private popoverRef;
private open;
/**
* The `Popover` body
*/
body: PopoverBody;
/**
* Sets the vertical position of the popover. Defaults to `bottom`.
*/
position: 'top' | 'bottom';
/**
* Sets the horizontal `Popover' alignment. Defaults to `left`.
*/
alignment: 'left' | 'right' | 'center';
/**
* Set to `true` to auto-wrap content in section
*/
sectioned: boolean;
constructor(popoverService: PopoverService, elementRef: ElementRef);
private show;
onClick(): void;
}