package js_of_ocaml
Compiler from OCaml bytecode to JavaScript
Install
Dune Dependency
Authors
Maintainers
Sources
js_of_ocaml-4.0.0.tbz
sha256=df02f819e5b2f48234af2b3e3e7c9781afa8212f8bece7ebcfbd8358b394495e
sha512=92e822849c8be14ce0428f7f4be3991449f76e65d408073a5b8b9674ba2d099439027aa11618b603c7ee31a179cf6976d54a929917a69b269425f0367926c200
doc/js_of_ocaml/Js_of_ocaml/WebGL/index.html
Module Js_of_ocaml.WebGL
WebGL binding
5.1 Types
class type contextAttributes = object ... end
5.2 WebGLContextAttributes
val defaultContextAttributes : contextAttributes Js.t
class type activeInfo = object ... end
class type shaderPrecisionFormat = object ... end
class type renderingContext = object ... end
5.13.1 Attributes
5.14 WebGLContextEvent
class type contextEvent = object ... end
module Event : sig ... end
Get a context
val getContext : Dom_html.canvasElement Js.t -> renderingContext Js.t Js.opt
val getContextWithAttributes :
Dom_html.canvasElement Js.t ->
contextAttributes Js.t ->
renderingContext Js.t Js.opt
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>