package ezjs_extension
Binding for Chrome and Firefox extension API
Install
Dune Dependency
Authors
Maintainers
Sources
0.1.tar.gz
md5=0d1dc7175a620eb50c07f2bbe0531533
sha512=5742b4e64398533c95291fe7c9b5ed3e264214dee7522fec1a0074766afd40e633aa1ceea16cbc6923ab80d737a15c13b50b96d4ddf8fad8ec74c30816877c9a
doc/src/ezjs_extension.chrome/windows_chrome.ml.html
Source file windows_chrome.ml
1 2 3 4 5 6 7 8 9 10 11 12 13
open Ezjs_min include Chrome_common.Windows let get ?info id f = windows##get id (Optdef.option info) (wrap_callback f) let getCurrent ?info f = windows##getCurrent (Optdef.option info) (wrap_callback f) let getLastFocused ?info f = windows##getLastFocused (Optdef.option info) (wrap_callback f) let getAll ?info f = windows##getAll (Optdef.option info) (wrap_callback (fun a -> f (to_list a))) let create ?info ?callback () = windows##create (Optdef.option info) (optdef wrap_callback callback) let update ?callback id info = windows##update id info (optdef wrap_callback callback) let remove ?callback id = windows##remove id (optdef wrap_callback callback)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>