UNPKG

@hxui/angular

Version:

This README includes the steps that are necessary to import the HxUi-angular into a project or to contribute with development.

26 lines (25 loc) 1.3 kB
import { ElementRef } from '@angular/core'; export declare abstract class PositioningOptions { /** The DOM element, ElementRef, or a selector string of an element which will be moved */ element?: HTMLElement | ElementRef | string; /** The DOM element, ElementRef, or a selector string of an element which the element will be attached to */ target?: HTMLElement | ElementRef | string; /** * A string of the form 'vert-attachment horiz-attachment' or 'placement' * - placement can be "top", "bottom", "left", "right" * not yet supported: * - vert-attachment can be any of 'top', 'middle', 'bottom' * - horiz-attachment can be any of 'left', 'center', 'right' */ attachment?: string; /** A string similar to `attachment`. The one difference is that, if it's not provided, `targetAttachment` will assume the mirror image of `attachment`. */ targetAttachment?: string; /** A string of the form 'vert-offset horiz-offset' * - vert-offset and horiz-offset can be of the form "20px" or "55%" */ offset?: string; /** A string similar to `offset`, but referring to the offset of the target */ targetOffset?: string; /** If true component will be attached to body */ appendToBody?: boolean; }