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

    • size: Size

      Size of the element

    • document: Document

      reference to the Document object

    • initialCall: boolean

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

    • target: HTMLElement | Point

      attaching target for the component to show

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

    Returns void