Home > widget-integration > PositionService > applyPosition
PositionService.applyPosition() method
Apply position styles to an element.
Signature:
applyPosition(element: HTMLElement, config: PositionConfig): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
element |
HTMLElement |
Element to position |
|
config |
Position configuration |
Returns:
void