Home > widget-integration > PositionService > isRightAligned

PositionService.isRightAligned() method

Determine if dropdown should be right-aligned.

Signature:

protected isRightAligned(rect: DOMRect): boolean;

Parameters

Parameter

Type

Description

rect

DOMRect

Input element bounding rect

Returns:

boolean

True if input is on the right side of viewport