To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Button widget with text or icon.
Dependency graph
val create :
?size:int ->
?border_radius:int ->
?border_color:Draw.color ->
?fg:Draw.color ->
?bg_on:Style.background ->
?bg_off:Style.background ->
?bg_over:Style.background option ->
?label:Label.t ->
?label_on:Label.t ->
?label_off:Label.t ->
?state:bool ->
?action:(bool -> unit) ->
kind ->
string ->
t
The action
parameter is executed (with the current button state as argument) just after the button state is modified by mouse clicking or keyboard (on button up or key up). In order to execute an action that depends on the button itself, use Widget.on_button_release
instead.
val state : t -> bool
val reset : t -> unit
val is_pressed : t -> bool
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page