package monaco_jsoo
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t = _t Js_of_ocaml.Js.t
val of_string : string -> t
To get an already registered language
val to_string : t -> string
val register : string -> t
register n
adds a new language named n
and returns its id.
val setMonarchTokensProvider : t -> Js_of_ocaml.Js.Unsafe.any -> unit
setMonarchTokensProvider t o
sets Monarch Token Provider of the language t
. The provider o
is a JS object documented at https://microsoft.github.io/monaco-editor/monarch.html
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>