Inherited from Layer

Binds a popup to the layer

Parameters:
  • $content (string) – The popup content

  • $options (array<string, mixed>.) – Popup options

Returns:

A new instance of |component| with the popup

Return type:

|component|

tooltip(string $content, array $options = [])

Binds a tooltip to the layer

Parameters:
  • $content (string) – The tooltip content

  • $options (array<string, mixed>.) – Tooltip options

Returns:

A new instance of |component| with the tooltip

Return type:

|component|