Class ConnectedPositioningStrategy

Positions the element based on the directions and start point passed in trough PositionSettings. It is possible to either pass a start point or an HTMLElement as a positioning base.

Implements

Constructors

Properties

Methods

Constructors

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

    • 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