AboutSupportDeveloper GuideVersion 44.144.100.59

Represents an anchor configuration consisting of a bounding rectangle and an anchor point describing which part of that rectangle should be used as the reference for positioning the download bubble.

interface Anchor {
    bounds: Rectangle;
    location: AnchorLocation;
}

Properties

Properties

bounds: Rectangle

The DOM or screen-space rectangle that defines the anchor area.

location: AnchorLocation

The location within the rectangle that should act as the anchor (e.g., topRight, bottomLeft, center, etc.). For example, topRight means the rectangle's top-right corner is used as the anchoring reference point.