constrainToViewport property

  1. @Input()
bool constrainToViewport
getter/setter pair

Whether to clamp the popup position so that it never goes offscreen.

Defaults to false.

Implementation

@Input()
bool constrainToViewport = false;