package js_of_ocaml-lwt
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Compiler from OCaml bytecode to Javascript
Install
dune-project
Dependency
Authors
Maintainers
Sources
js_of_ocaml-3.5.1.tbz
sha256=3a050eb9507058164431c8e1f1c86b3c61e30a5d0b0cf2c5f48b959b87eaade9
sha512=0bbca03ac220f28adf060d4c2d8f726801bce80461aa73724a6c53b4979af919c820cc723b0a7e9bda93270cef5c0485aea942aa527010a3c386a13b7e2d4842
doc/js_of_ocaml-lwt/Js_of_ocaml_lwt/Jsonp/index.html
Module Js_of_ocaml_lwt.Jsonp
This module provides helpers to perform JSONP calls
val call :
?timeout:float ->
?param:string ->
?prefix:string ->
string ->
'b Lwt.tcall ~timeout ~param url do a jsonp call using url. It uses the named query parameter param (default "callback") to pass the name of the callback. It uses prefix to generate random string for callback name. If a timeout is given and there are no answer before timeout seconds, the lwt thread will be cancelled.
val call_custom_url :
?timeout:float ->
?prefix:string ->
(string -> string) ->
'b Lwt.tcall_custom_url ~timeout make_url. Same as call but let you build your own url given a callback name
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>