Interface CustomOverlayOptions

interface CustomOverlayOptions {
    attributes?: Record<string, string>;
    cssClass?: string;
    events?: Record<string, ((value: any, event?: any) => any)>;
    id?: string;
    location?: number;
    visibility?: OverlayVisibility;
}

Hierarchy (view full)

Properties

attributes?: Record<string, string>

Optional custom attributes to write to the overlay's element.

cssClass?: string

Optional CSS class(es) to add to the overlay's element.

events?: Record<string, ((value: any, event?: any) => any)>

Optional event handlers to attach to the overlay.

id?: string

Optional ID for the overlay. Can be used to retrieve the overlay from a connection.

location?: number

Defaults to 0.5. See docs.

visibility?: OverlayVisibility

Whether the overlay is always visible, or only on hover. Defaults to OVERLAY_VISIBILITY_ALWAYS.

Version :