package leaflet
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type opt =
| Pane of string
| Offset of Point.t
| Max_width of int
| Min_width of int
| Max_height of int
| Auto_pan of bool
| Auto_pan_padding_top_left of Point.t
| Auto_pan_padding_bottom_right of Point.t
| Auto_pan_padding of Point.t
| Keep_in_view of bool
| Auto_close of bool
| Close_on_escape_key of bool
| Close_on_click of bool
| Class_name of string
type for popup option used to create an popup
set_latlng latlng popup
sets popup
position to the given point
val set_content : string -> t -> unit
set_content s popup
sets popup
content to s
val opt_to_string : opt -> string
opt_to_string opt
is opt
as string
create ~content ~latlng options
is a new popup setup with options
, position set to latlng
and content to s
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>