| (>>>) [Event_arrows] | |
| (>>>|) [Event_arrows] | |
| _2d_ [Dom_html] | |
| _DOMMouseScroll [Dom_html.Event] | |
| _end [Keycode] | |
| _false [Js] |
Javascript
false boolean.
|
| _object [Dom_html.CoerceTo] | |
| _requestAnimationFrame [Dom_html] |
Call the appropriate
requestAnimationFrame method variant
(depending on the navigator), or sleep for a short amount
of time when there no such method is provided.
|
| _true [Js] |
Javascript
true boolean.
|
A | |
| a [Dom_html.CoerceTo] | |
| abort [XmlHttpRequest.Event] | |
| abort [Lwt_js_events] | |
| abort [File.ReaderEvent] | |
| abort [Dom_html.Event] | |
| addEventListener [File] |
Add an event listener.
|
| addEventListener [Dom_html] |
Add an event listener.
|
| addEventListener [Dom] |
Add an event listener.
|
| addMousewheelEventListener [Dom_html] |
Add a mousewheel event listener.
|
| alt [Keycode] | |
| append [Form] | |
| appendChild [Dom] |
The expression
appendChild n c behave the same as
n##appendChild(c) (appends c to n)
but avoid the need of coercing the
different objects to node t.
|
| area [Dom_html.CoerceTo] | |
| arguments [Url.Current] |
The arguments of the current url as an association list.
|
| arr [Event_arrows] | |
| array [Js] |
Conversion of arrays from OCaml to Javascript.
|
| arrayBuffer [Typed_array] | |
| arrayBuffer [File.CoerceTo] | |
| array_empty [Js] |
Constructor of
Array objects.
|
| array_get [Js] |
Array access:
array_get a i returns the element at index i
of array a.
|
| array_length [Js] |
Constructor of
Array objects.
|
| array_set [Js] |
Array update:
array_set a i v puts v at index i in
array a.
|
| as_string [Url.Current] | as_string is the original string representation of the current Url.
|
| async [Lwt_js_events] | async t records a thread to be executed later.
|
| async_loop [Lwt_js_events] | async_loop is similar to seq_loop, but each handler runs
independently.
|
| attr [Dom.CoerceTo] | |
B | |
| backspace [Keycode] | |
| base [Dom_html.CoerceTo] | |
| beforeunload [Dom_html.Event] | |
| bind [Js.OPT] |
Apply a function returning an optional value to an optional value
|
| blockquote [Dom_html.CoerceTo] | |
| blur [Lwt_js_events] | |
| blur [Dom_html.Event] | |
| blurs [Lwt_js_events] | |
| body [Dom_html.CoerceTo] | |
| bool [Js] |
Conversion of booleans from OCaml to Javascript.
|
| bounded_split [Regexp] | bounded_split r s i is like split r s except that the result's length is
less than i.
|
| br [Dom_html.CoerceTo] | |
| buffered_loop [Lwt_js_events] | buffered_loop is similar to seq_loop, but any event that
occurs during an execution of the handler is queued instead of
being ingnored.
|
| button [Dom_html.CoerceTo] | |
| buttonPressed [Dom_html] | |
| bytestring [Js] |
Conversion of strings of bytes from OCaml to Javascript.
|
C | |
| cached [Dom_html.Event] | |
| call [Js.Unsafe] |
Performs a Javascript function call.
|
| cancel [Event_arrows] | |
| canvas [Dom_html.CoerceTo] | |
| caption [Dom_html.CoerceTo] | |
| case [Js.OPT] |
Pattern matching on optional values.
|
| change [Lwt_js_events] | |
| change [Dom_html.Event] | |
| changes [Lwt_js_events] | |
| checking [Dom_html.Event] | |
| click [Lwt_js_events] | |
| click [Event_arrows] | |
| click [Dom_html.Event] | |
| clicks [Lwt_js_events] | |
| clicks [Event_arrows] | |
| coerce [Js.Unsafe] |
Unsafe coercion between to Javascript objects.
|
| coerce [Js] |
Apply a possibly failing coercion function.
|
| coerce_opt [Js] |
Apply a possibly failing coercion function.
|
| col [Dom_html.CoerceTo] | |
| colgroup [Dom_html.CoerceTo] | |
| command [Keycode] | |
| console [Firebug] | |
| create [XmlHttpRequest] | |
| createA [Dom_html] | |
| createAbbr [Dom_html] | |
| createAddress [Dom_html] | |
| createArea [Dom_html] | |
| createB [Dom_html] | |
| createBase [Dom_html] | |
| createBig [Dom_html] | |
| createBlockquote [Dom_html] | |
| createBody [Dom_html] | |
| createBr [Dom_html] | |
| createButton [Dom_html] | |
| createCanvas [Dom_html] | |
| createCaption [Dom_html] | |
| createCite [Dom_html] | |
| createCode [Dom_html] | |
| createCol [Dom_html] | |
| createColgroup [Dom_html] | |
| createDd [Dom_html] | |
| createDel [Dom_html] | |
| createDfn [Dom_html] | |
| createDiv [Dom_html] | |
| createDl [Dom_html] | |
| createDt [Dom_html] | |
| createEm [Dom_html] | |
| createFieldset [Dom_html] | |
| createForm [Dom_html] | |
| createFrame [Dom_html] | |
| createFrameset [Dom_html] | |
| createH1 [Dom_html] | |
| createH2 [Dom_html] | |
| createH3 [Dom_html] | |
| createH4 [Dom_html] | |
| createH5 [Dom_html] | |
| createH6 [Dom_html] | |
| createHead [Dom_html] | |
| createHr [Dom_html] | |
| createHtml [Dom_html] | |
| createI [Dom_html] | |
| createIframe [Dom_html] | |
| createImg [Dom_html] | |
| createInput [Dom_html] | |
| createIns [Dom_html] | |
| createKbd [Dom_html] | |
| createLabel [Dom_html] | |
| createLegend [Dom_html] | |
| createLi [Dom_html] | |
| createLink [Dom_html] | |
| createMap [Dom_html] | |
| createMeta [Dom_html] | |
| createNoscript [Dom_html] | |
| createObject [Dom_html] | |
| createOl [Dom_html] | |
| createOptgroup [Dom_html] | |
| createOption [Dom_html] | |
| createP [Dom_html] | |
| createParam [Dom_html] | |
| createPre [Dom_html] | |
| createQ [Dom_html] | |
| createSamp [Dom_html] | |
| createScript [Dom_html] | |
| createSelect [Dom_html] | |
| createSmall [Dom_html] | |
| createSpan [Dom_html] | |
| createStrong [Dom_html] | |
| createStyle [Dom_html] | |
| createSub [Dom_html] | |
| createSup [Dom_html] | |
| createTable [Dom_html] | |
| createTbody [Dom_html] | |
| createTd [Dom_html] | |
| createTextarea [Dom_html] | |
| createTfoot [Dom_html] | |
| createTh [Dom_html] | |
| createThead [Dom_html] | |
| createTitle [Dom_html] | |
| createTr [Dom_html] | |
| createTt [Dom_html] | |
| createUl [Dom_html] | |
| createVar [Dom_html] | |
| ctrl [Keycode] | |
D | |
| date [Js] |
The date constructor, as an object.
|
| date_day [Js] |
Constructor of
Date objects: new date_fromTimeValue (y, m, d)
returns a Date object corresponding to year y, month m and
day d.
|
| date_fromTimeValue [Js] |
Constructor of
Date objects: new date_fromTimeValue (t) returns a
Date object initialized with the time value t.
|
| date_hour [Js] |
Constructor of
Date objects: new date_fromTimeValue (y, m, d, h)
returns a Date object corresponding to year y to hour h.
|
| date_min [Js] |
Constructor of
Date objects: new date_fromTimeValue (y, m, d, h, m')
returns a Date object corresponding to year y to minute m'.
|
| date_month [Js] |
Constructor of
Date objects: new date_fromTimeValue (y, m)
returns a Date object corresponding to year y and month m.
|
| date_ms [Js] |
Constructor of
Date objects:
new date_fromTimeValue (y, m, d, h, m', s, ms)
returns a Date object corresponding to year y
to millisecond ms.
|
| date_now [Js] |
Constructor of
Date objects: new date_now () returns a
Date object initialized with the current date.
|
| date_sec [Js] |
Constructor of
Date objects:
new date_fromTimeValue (y, m, d, h, m', s)
returns a Date object corresponding to year y to second s.
|
| dblclick [Lwt_js_events] | |
| dblclick [Event_arrows] | |
| dblclick [Dom_html.Event] | |
| dblclicks [Lwt_js_events] | |
| dblclicks [Event_arrows] | |
| decodeURI [Js] |
Decode a URI: replace by the corresponding byte all escape
sequences but the ones corresponding to a URI reserved character
and convert the string from UTF-8 to UTF-16.
|
| decodeURIComponent [Js] |
Decode a URIComponent: replace all escape sequences by the
corresponding byte and convert the string from UTF-8 to
UTF-16.
|
| decode_arguments [Url] | decode_arguments s parses s returning the sliced-diced
association list.
|
| def [Js] |
Consider a value into a possibly undefined value.
|
| default_http_port [Url] |
The default port for
Http communications (80).
|
| default_https_port [Url] |
The default port for
Https communications (443).
|
| del [Dom_html.CoerceTo] | |
| delete [Keycode] | |
| delete [Js.Unsafe] |
Delete an object property.
|
| div [Dom_html.CoerceTo] | |
| dl [Dom_html.CoerceTo] | |
| document [Dom_html] |
The current document
|
| document_position_contained_by [Dom] | |
| document_position_contains [Dom] | |
| document_position_disconnected [Dom] | |
| document_position_following [Dom] | |
| document_position_implementation_specific [Dom] | |
| document_position_preceding [Dom] | |
| down [Keycode] | |
| downloading [Dom_html.Event] | |
| drag [Lwt_js_events] | |
| drag [Dom_html.Event] | |
| dragend [Lwt_js_events] | |
| dragend [Dom_html.Event] | |
| dragends [Lwt_js_events] | |
| dragenter [Lwt_js_events] | |
| dragenter [Dom_html.Event] | |
| dragenters [Lwt_js_events] | |
| dragleave [Lwt_js_events] | |
| dragleave [Dom_html.Event] | |
| dragleaves [Lwt_js_events] | |
| dragover [Lwt_js_events] | |
| dragover [Dom_html.Event] | |
| dragovers [Lwt_js_events] | |
| drags [Lwt_js_events] | |
| dragstart [Lwt_js_events] | |
| dragstart [Dom_html.Event] | |
| dragstarts [Lwt_js_events] | |
| drop [Lwt_js_events] | |
| drop [Dom_html.Event] | |
| drops [Lwt_js_events] | |
E | |
| element [Dom_html.CoerceTo] | |
| element [Dom_html] |
Coercion from a general DOM element to an HTML element.
|
| element [Dom.CoerceTo] | |
| elementClientPosition [Dom_html] |
Position of an element relative to the viewport
|
| empty [Js.OPT] |
No value.
|
| empty_form_contents [Form] | |
| encodeURI [Js] |
Encode a URI: convert the string to UTF-8 and replace all unsafe
bytes by the corresponding escape sequence.
|
| encodeURIComponent [Js] |
Same as
encodeURI, but also encode URI reserved characters.
|
| encode_arguments [Url] | encode_arguments a expects a list of pair of values of the form
(name,value) were name is the name of an argument and value it's
associated value.
|
| error [XmlHttpRequest.Event] | |
| error [Lwt_js_events] | |
| error [File.ReaderEvent] | |
| error [Dom_html.Event] | |
| esc [Keycode] | |
| escape [Js] |
Escape a string: unsafe UTF-16 code points are replaced by
2-digit and 4-digit escape sequences.
|
| eval_string [Js.Unsafe] |
Evaluate Javascript code
|
| eventAbsolutePosition [Dom_html] |
Returns the absolute position of the mouse pointer.
|
| eventRelatedTarget [Dom_html] |
Returns this event related target.
|
| eventTarget [Dom_html] |
see
Dom.eventTarget
|
| eventTarget [Dom] |
Returns which object is the target of this event.
|
F | |
| f1 [Keycode] | |
| f10 [Keycode] | |
| f11 [Keycode] | |
| f12 [Keycode] | |
| f2 [Keycode] | |
| f3 [Keycode] | |
| f4 [Keycode] | |
| f5 [Keycode] | |
| f6 [Keycode] | |
| f7 [Keycode] | |
| f8 [Keycode] | |
| f9 [Keycode] | |
| fieldset [Dom_html.CoerceTo] | |
| fileReader [File] | |
| filename [File] | filename handles old firefox without name property
|
| first [Event_arrows] |
Behaves as the first element of the list to terminate
|
| float [Js] |
Conversion of OCaml floats to Javascript numbers.
|
| float32Array [Typed_array] | |
| float32Array_fromArray [Typed_array] | |
| float32Array_fromBuffer [Typed_array] | |
| float32Array_fromTypedArray [Typed_array] | |
| float32Array_inBuffer [Typed_array] | |
| float64Array [Typed_array] | |
| float64Array_fromArray [Typed_array] | |
| float64Array_fromBuffer [Typed_array] | |
| float64Array_fromTypedArray [Typed_array] | |
| float64Array_inBuffer [Typed_array] | |
| float_of_number [Js] |
Conversion of Javascript number objects to OCaml floats.
|
| focus [Lwt_js_events] | |
| focus [Dom_html.Event] | |
| focuses [Lwt_js_events] | |
| form [Dom_html.CoerceTo] | |
| formData [Form] | |
| formData_form [Form] | |
| form_elements [Form] | |
| frame [Dom_html.CoerceTo] | |
| frameset [Dom_html.CoerceTo] | |
| from_string [Deriving_Json.Json] | |
| from_string [Deriving_Json] | from_string Json.t<ty> s safely unmarshall the JSON s into an
OCaml value of type ty.
|
| full_handler [Dom_html] |
see
Dom.full_handler
|
| full_handler [Dom] |
Create an event handler that invokes the provided function.
|
| fun_call [Js.Unsafe] |
Performs a Javascript function call.
|
G | |
| get [XmlHttpRequest] | get url makes an asynchronous request to the specified url
|
| get [Url.Current] | get () returns a value of type Url.url with fields reflecting the
state of the current Url.
|
| get [Typed_array] | |
| get [Js.Unsafe] |
Get the value of an object property.
|
| get [Js.OPT] |
Get the value.
|
| getContext [WebGL] | |
| getDocumentScroll [Dom_html] |
Viewport top/left position
|
| get_form_contents [Form] | |
| get_fragment [Url.Current] |
Because the
fragment of the Url for the current document can change
dynamically, we use a functional value here.
|
| global_replace [Regexp] | global_replace r s by replaces all of the matches of r in s by by.
|
H | |
| h1 [Dom_html.CoerceTo] | |
| h2 [Dom_html.CoerceTo] | |
| h3 [Dom_html.CoerceTo] | |
| h4 [Dom_html.CoerceTo] | |
| h5 [Dom_html.CoerceTo] | |
| h6 [Dom_html.CoerceTo] | |
| handler [Dom_html] |
see
Dom.handler
|
| handler [Dom] |
Create an event handler that invokes the provided function.
|
| hashchange [Dom_html.Event] | |
| head [Dom_html.CoerceTo] | |
| home [Keycode] | |
| host [Url.Current] |
The host part of the current url.
|
| hr [Dom_html.CoerceTo] | |
| hsl [CSS.Color] |
build a color from the values of hue, saturation, and lightness channels.
|
| html [Dom_html.CoerceTo] | |
I | |
| iframe [Dom_html.CoerceTo] | |
| img [Dom_html.CoerceTo] | |
| init_lexer [Deriving_Json_lexer] |
Create a fresh lexbuf record.
|
| inject [Js.Unsafe] |
Coercion to top type.
|
| input [Lwt_js_events] | |
| input [Dom_html.CoerceTo] | |
| input [Dom_html.Event] | |
| inputs [Lwt_js_events] | |
| ins [Dom_html.CoerceTo] | |
| insert [Keycode] | |
| insertBefore [Dom] | insertBefore p n c inserts node n as child of node p,
just before node c, or as last child if p is empty.
|
| instanceof [Js] |
Tests whether a Javascript object is an instance of a given class.
|
| int16Array [Typed_array] | |
| int16Array_fromArray [Typed_array] | |
| int16Array_fromBuffer [Typed_array] | |
| int16Array_fromTypedArray [Typed_array] | |
| int16Array_inBuffer [Typed_array] | |
| int32Array [Typed_array] | |
| int32Array_fromArray [Typed_array] | |
| int32Array_fromBuffer [Typed_array] | |
| int32Array_fromTypedArray [Typed_array] | |
| int32Array_inBuffer [Typed_array] | |
| int8Array [Typed_array] | |
| int8Array_fromArray [Typed_array] | |
| int8Array_fromBuffer [Typed_array] | |
| int8Array_fromTypedArray [Typed_array] | |
| int8Array_inBuffer [Typed_array] | |
| invoke_handler [Dom_html] |
see
Dom.invoke_handler
|
| invoke_handler [Dom] |
Invoke an existing handler.
|
| isNaN [Js] | |
| is_supported [WebSockets] | |
| iter [Js.OPT] |
Apply a function to an optional value if it is available.
|
| iter [Event_arrows] |
Behaves as one element of the list, then another one, etc.
|
J | |
| js [CSS.Angle] | |
| js [CSS.Length] | |
| js [CSS.Color] |
Projection from OCaml to Js.
|
| js_t_of_js_string [CSS.Color] |
Checks the well-formedness of a string or fails with
Invalid_argument
|
K | |
| keyboardEvent [Dom_html.CoerceTo] | |
| keydown [Lwt_js_events] | |
| keydown [Event_arrows] | |
| keydown [Dom_html.Event] | |
| keydowns [Lwt_js_events] | |
| keydowns [Event_arrows] | |
| keypress [Lwt_js_events] | |
| keypress [Event_arrows] | |
| keypress [Dom_html.Event] | |
| keypresses [Lwt_js_events] | |
| keypresses [Event_arrows] | |
| keyup [Lwt_js_events] | |
| keyup [Event_arrows] | |
| keyup [Dom_html.Event] | |
| keyups [Lwt_js_events] | |
| keyups [Event_arrows] | |
L | |
| label [Dom_html.CoerceTo] | |
| left [Keycode] | |
| legend [Dom_html.CoerceTo] | |
| li [Dom_html.CoerceTo] | |
| link [Dom_html.CoerceTo] | |
| list_of_nodeList [Dom] | |
| listen [Dom_events] | |
| load [XmlHttpRequest.Event] | |
| load [Lwt_js_events] | |
| load [File.ReaderEvent] | |
| load [Dom_html.Event] | |
| loadend [XmlHttpRequest.Event] | |
| loadend [File.ReaderEvent] | |
| loadstart [XmlHttpRequest.Event] | |
| loadstart [File.ReaderEvent] | |
| lwt_arr [Event_arrows] | |
M | |
| make [Dom_html.Event] | |
| make [Dom.Event] | |
| make_event [Lwt_js_events] | make_event ev target creates a Lwt thread that waits
for the event ev to happen on target (once).
|
| map [Js.OPT] |
Apply a function to an optional value if it is available.
|
| map [Dom_html.CoerceTo] | |
| match_result [Js] |
Convert a match result handle into a
MatchResult object.
|
| matched_group [Regexp] | matched_group r i is the ith group matched.
|
| matched_string [Regexp] | matched_string r return the exact substring that matched when evaluating
r.
|
| math [Js] |
The Math object
|
| meta [Dom_html.CoerceTo] | |
| meth_call [Js.Unsafe] |
Performs a Javascript method call.
|
| minus [Keycode] | |
| ml [CSS.Angle] | |
| ml [CSS.Length] | |
| ml [CSS.Color] |
Projection from Js to OCaml.
|
| mouseEvent [Dom_html.CoerceTo] | |
| mouseScrollEvent [Dom_html.CoerceTo] | |
| mousedown [Lwt_js_events] | |
| mousedown [Event_arrows] | |
| mousedown [Dom_html.Event] | |
| mousedowns [Lwt_js_events] | |
| mousedowns [Event_arrows] | |
| mousemove [Lwt_js_events] | |
| mousemove [Event_arrows] | |
| mousemove [Dom_html.Event] | |
| mousemoves [Lwt_js_events] | |
| mousemoves [Event_arrows] | |
| mouseout [Lwt_js_events] | |
| mouseout [Event_arrows] | |
| mouseout [Dom_html.Event] | |
| mouseouts [Lwt_js_events] | |
| mouseouts [Event_arrows] | |
| mouseover [Lwt_js_events] | |
| mouseover [Event_arrows] | |
| mouseover [Dom_html.Event] | |
| mouseovers [Lwt_js_events] | |
| mouseovers [Event_arrows] | |
| mouseup [Lwt_js_events] | |
| mouseup [Event_arrows] | |
| mouseup [Dom_html.Event] | |
| mouseups [Lwt_js_events] | |
| mouseups [Event_arrows] | |
| mousewheel [Lwt_js_events] |
This function returns the event,
together with the numbers of ticks the mouse wheel moved.
|
| mousewheel [Dom_html.Event] | |
| mousewheels [Lwt_js_events] | |
N | |
| new_obj [Js.Unsafe] |
Create a Javascript object.
|
| no_handler [Dom_html] |
see
Dom.no_handler
|
| no_handler [Dom] |
Void event handler (Javascript
null value).
|
| nodeType [Dom] | |
| noupdate [Dom_html.Event] | |
| null [Js] |
The
null value.
|
| number_of_float [Js] |
Conversion of OCaml floats to Javascript number objects.
|
O | |
| obj [Js.Unsafe] |
Creates a Javascript literal object.
|
| obsolete [Dom_html.Event] | |
| offline [Dom_html.Event] | |
| ol [Dom_html.CoerceTo] | |
| onbeforeunload [Lwt_js_events] | |
| onhashchange [Lwt_js_events] | |
| onhashchanges [Lwt_js_events] | |
| online [Dom_html.Event] | |
| onload [Lwt_js_events] |
Returns when the page is loaded
|
| onpopstate [Lwt_js_events] | |
| onpopstates [Lwt_js_events] | |
| onresize [Lwt_js_events] | |
| onresizes [Lwt_js_events] | |
| opt_tagged [Dom_html] | |
| opt_taggedEvent [Dom_html] | |
| optgroup [Dom_html.CoerceTo] | |
| option [Js.OPT] |
Convert option type.
|
| option [Dom_html.CoerceTo] | |
| output [Json] |
Marshall any OCaml value into this JSON representation.
|
P | |
| p [Dom_html.CoerceTo] | |
| param [Dom_html.CoerceTo] | |
| parseFloat [Js] | |
| parseInt [Js] | |
| path [Url.Current] |
The path of the current url as a list of small string.
|
| path_of_path_string [Url] | path_of_path_string s splits s on each "/" character.
|
| path_string [Url.Current] |
The path of the current url as one long string.
|
| perform [XmlHttpRequest] | perform is the same as XmlHttpRequest.perform_raw_url except that the Url argument has type
Url.url.
|
| perform_raw_url [XmlHttpRequest] | perform_raw_url ?headers ?content_type ?post_args ?get_args ?form_arg url
makes an asynchronous request to the specified url with
specified options.
|
| pixel_get [Dom_html] | |
| pixel_set [Dom_html] | |
| plus [Keycode] | |
| popStateEvent [Dom_html.CoerceTo] | |
| popstate [Dom_html.Event] | |
| port [Url.Current] |
The port of the current url.
|
| post_form_contents [Form] | |
| pre [Dom_html.CoerceTo] | |
| preventDefault [Dom] |
Call this to prevent the default handler for the event.
|
| progress [XmlHttpRequest.Event] | |
| progress [File.ReaderEvent] | |
| progress [Dom_html.Event] | |
| pure_expr [Js.Unsafe] |
Asserts that an expression is pure, and can therefore be
optimized away by the compiler if unused.
|
Q | |
| q [Dom_html.CoerceTo] | |
| quote [Regexp] |
Escapes characters with special meaning in the regexp context.
|
R | |
| read [Deriving_Json.Json] | |
| readAsBinaryString [File] | |
| readAsDataURL [File] | |
| readAsText [File] | |
| readAsText_withEncoding [File] | |
| read_bounded_int [Deriving_Json_lexer] | |
| read_case [Deriving_Json_lexer] | |
| read_comma [Deriving_Json_lexer] | |
| read_comma_or_rbracket [Deriving_Json_lexer] | |
| read_int [Deriving_Json_lexer] | |
| read_int32 [Deriving_Json_lexer] | |
| read_int64 [Deriving_Json_lexer] | |
| read_lbracket [Deriving_Json_lexer] | |
| read_number [Deriving_Json_lexer] | |
| read_rbracket [Deriving_Json_lexer] | |
| read_string [Deriving_Json_lexer] | |
| read_tag_1 [Deriving_Json_lexer] | |
| read_tag_2 [Deriving_Json_lexer] | |
| read_vcase [Deriving_Json_lexer] | |
| readystatechange [XmlHttpRequest.Event] | |
| regExp [Js] |
Constructor of
RegExp objects.
|
| regExp_copy [Js] |
Constructor of
RegExp objects.
|
| regExp_withFlags [Js] |
Constructor of
RegExp objects.
|
| regexp [Regexp] |
Simple regexp constructor.
|
| regexp_string [Regexp] | regexp_string s creates a regexp matching the exact string s.
|
| regexp_with_flag [Regexp] |
Regexp constructor with flag that allow for global or
case-insensitive search.
|
| removeChild [Dom] |
The expression
removeChild n c behave the same as
n##removeChild(c) (remove c from n)
but avoid the need of coercing the
different objects to node t.
|
| removeEventListener [Dom_html] |
Remove the given event listener.
|
| removeEventListener [Dom] |
Remove the given event listener.
|
| replaceChild [Dom] |
The expression
replaceChild p n c behave the same as
p##replaceChild(n, c) (replace c by n in p)
but avoid the need of coercing the
different objects to node t.
|
| replace_first [Regexp] | replace_first r s by replaces the first match of r in s by by.
|
| request_animation_frame [Lwt_js_events] |
Returns when a repaint of the window by the browser starts.
|
| resize [Dom_html.Event] | |
| return [Keycode] | |
| return [Js.OPT] |
Consider a value as an optional value.
|
| rgb [CSS.Color] |
build a color from the values of red, green, and blue channels.
|
| rgb_of_name [CSS.Color] |
Converts a color name into three integers representing the Red, Green and
Blue channels.
|
| right [Keycode] | |
| run [Event_arrows] | |
S | |
| script [Dom_html.CoerceTo] | |
| scroll [Lwt_js_events] | |
| scroll [Dom_html.Event] | |
| scrolls [Lwt_js_events] | |
| search [Regexp] | search r s i evaluates to the index of the match and the match result or
None if s (starting from i) doesn't match r.
|
| select [Lwt_js_events] | |
| select [Dom_html.CoerceTo] | |
| select [Dom_html.Event] | |
| selects [Lwt_js_events] | |
| seq_loop [Lwt_js_events] | seq_loop (make_event ev) target handler creates a looping Lwt
thread that waits for the event ev to happen on target, then
execute handler, and start again waiting for the event.
|
| set [Url.Current] | set u replaces the current Url for u.
|
| set [Typed_array] | |
| set [Js.Unsafe] |
Set an object property.
|
| set_fragment [Url.Current] | set_fragment s replaces the current fragment by s.
|
| shift [Keycode] | |
| sleep [Lwt_js] | sleep d is a threads which remain suspended for d seconds
and then terminates.
|
| some [Js] |
Consider a value into a possibly null value.
|
| space [Keycode] | |
| split [Regexp] | split r s splits the string s erasing matches with r.
|
| stopPropagation [Dom_html] | |
| stop_listen [Dom_events] | |
| str_array [Js] |
Convert an opaque
string_array t object into an array of
string.
|
| string [Js] |
The string constructor, as an object.
|
| string [File.CoerceTo] | |
| string_match [Regexp] | string_match r s i matches the string s starting from the ith
character.
|
| string_of_name [CSS.Color] |
Gives the string equivalent of the argument.
|
| string_of_t [CSS.Angle] | |
| string_of_t [CSS.Length] | |
| string_of_t [CSS.Color] |
Convert to a string representation (for debugging purpose mainly).
|
| string_of_url [Url] | string_of_url u returns a valid string representation of u.
|
| style [Dom_html.CoerceTo] | |
| submit [Lwt_js_events] | |
| submit [Dom_html.Event] | |
| submits [Lwt_js_events] | |
| super [Keycode] | |
T | |
| t [Deriving_Json.Json] | |
| tab [Keycode] | |
| table [Dom_html.CoerceTo] | |
| tagged [Dom_html] | |
| taggedEvent [Dom_html] | |
| tbody [Dom_html.CoerceTo] | |
| td [Dom_html.CoerceTo] | |
| test [Js.OPT] |
Returns
true if a value is available, false otherwise.
|
| text [Dom.CoerceTo] | |
| textarea [Dom_html.CoerceTo] | |
| tfoot [Dom_html.CoerceTo] | |
| th [Dom_html.CoerceTo] | |
| thead [Dom_html.CoerceTo] | |
| timeout [XmlHttpRequest.Event] | |
| title [Dom_html.CoerceTo] | |
| to_array [Js] |
Conversion of arrays from Javascript to OCaml.
|
| to_bool [Js] |
Conversion of booleans from Javascript to OCaml.
|
| to_bytestring [Js] |
Conversion of strings of bytes from Javascript to OCaml.
|
| to_float [Js] |
Conversion of Javascript numbers to OCaml floats.
|
| to_option [Js.OPT] |
Convert to option type.
|
| to_string [Deriving_Json.Json] | |
| to_string [Deriving_Json] | to_string Json.t<ty> v marshall the v of type ty to a JSON string.
|
| to_string [Js] |
Conversion of strings from Javascript to OCaml.
|
| touchcancel [Lwt_js_events] | |
| touchcancel [Dom_html.Event] | |
| touchcancels [Lwt_js_events] | |
| touchend [Lwt_js_events] | |
| touchend [Dom_html.Event] | |
| touchends [Lwt_js_events] | |
| touchmove [Lwt_js_events] | |
| touchmove [Dom_html.Event] | |
| touchmoves [Lwt_js_events] | |
| touchstart [Lwt_js_events] | |
| touchstart [Dom_html.Event] | |
| touchstarts [Lwt_js_events] | |
| tr [Dom_html.CoerceTo] | |
| transitionend [Lwt_js_events] |
Returns when a CSS transition terminates on the element.
|
| typeof [Js] |
Returns the type of a Javascript object.
|
U | |
| ul [Dom_html.CoerceTo] | |
| undefined [Js] |
The
undefined value
|
| unescape [Js] |
Unescape a string: 2-digit and 4-digit escape sequences are
replaced by the corresponding UTF-16 code point.
|
| unsafe_input [Json] |
Unmarshall a string in JSON format as an OCaml value (unsafe but
fast !).
|
| up [Keycode] | |
| updateready [Dom_html.Event] | |
| url_of_string [Url] | url_of_string s parses s and builds a value of type url if s is not
a valid url string, it returns None.
|
| urldecode [Url] | urldecode s swaps percent encoding characters for their usual
representation.
|
| urlencode [Url] | urlencode ?with_plus s replace characters for their percent encoding
representation.
|
V | |
| variable [Js.Unsafe] |
Access a Javascript variable.
|
W | |
| webSocket [WebSockets] | |
| webSocket_withProtocol [WebSockets] | |
| webglcontextcreationerror [WebGL.Event] | |
| webglcontextlost [WebGL.Event] | |
| webglcontextrestored [WebGL.Event] | |
| wheelEvent [Dom_html.CoerceTo] | |
| window [Keycode] | |
| window [Dom_html] |
The current window
|
| wrap_callback [Js] |
Wrap an OCaml function so that it can be invoked from
Javascript.
|
| wrap_meth_callback [Js] |
Wrap an OCaml function so that it can be invoked from
Javascript.
|
| write [Deriving_Json.Json] | |
Y | |
| yield [Lwt_js] | yield () is a threads which suspends itself and then resumes
as soon as possible and terminates.
|