Interface IPositionStrategy

Documentation Position strategies determine where to display the component in the provided IgxOverlayService.

Implemented by

Properties

Methods

Properties

PositionSettings to use when position the component in the overlay

Methods

  • Position the element based on the PositionStrategy implementing this interface.

    Parameters

    • contentElement: HTMLElement

      The HTML element to be positioned

    • Optional size: Size

      Size of the element

    • Optional document: Document

      reference to the Document object

    • Optional initialCall: boolean

      should be true if this is the initial call to the method

    • Optional target: HTMLElement | Point

      attaching target for the component to show

      settings.positionStrategy.position(content, size, document, true);
      

    Returns void