Interface CustomOverlayOptions

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

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, event?) => any)>

Optional event handlers to attach to the overlay.

Type declaration

    • (value, event?): any
    • Parameters

      • value: any
      • Optional event: any

      Returns any

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.

Version :