Home > widget-integration > PositionConfig

PositionConfig interface

Position configuration for dropdown styles.

**Legacy**: Calculated inline in calcPositionSuggestionResult() **New**: Dedicated PositionService with typed config

Signature:

export interface PositionConfig 

Properties

Property

Modifiers

Type

Description

left?

number

(Optional) Left offset in pixels (optional)

maxHeight

number

Maximum height in pixels

position

"absolute" | "fixed"

CSS position property

right?

number

(Optional) Right offset in pixels (optional)

top

number

Top offset in pixels

zIndex?

number

(Optional) Z-index value