Skip to main content

IHorizontalAlignedPosition Interface

Declares settings that specify a floating object’s horizontal position.

Declaration

export interface IHorizontalAlignedPosition

Properties

alignment Property

Specifies the floating object’s alignment relative to an anchor element.

Declaration

alignment: FloatingObjectHorizontalAlignment

Property Value

Type Description
FloatingObjectHorizontalAlignment

The alignment.

relativeTo Property

Specifies the anchor element relative to the specified position.

Declaration

relativeTo: FloatingObjectHorizontalAnchorElement

Property Value

Type Description
FloatingObjectHorizontalAnchorElement

An anchor element.