|
(+) [Dom.DocumentPosition] |
|
_2d_ [Dom_html] |
|
_DOMMouseScroll [Dom_html.Event] |
|
_JSON [Js] |
JSON object
|
_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_svg.CoerceTo] |
|
a [Dom_html.CoerceTo] |
|
abort [XmlHttpRequest.Event] |
|
abort [Lwt_js_events] |
|
abort [File.ReaderEvent] |
|
abort [Dom_html.Event] |
|
add [Dom.DocumentPosition] |
|
addEventListener [File] |
Add an event listener.
|
addEventListener [EventSource] |
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] |
|
altGlyph [Dom_svg.CoerceTo] |
|
altGlyphDef [Dom_svg.CoerceTo] |
|
altGlyphItem [Dom_svg.CoerceTo] |
|
animate [Dom_svg.CoerceTo] |
|
animateColor [Dom_svg.CoerceTo] |
|
animateMotion [Dom_svg.CoerceTo] |
|
animateTransform [Dom_svg.CoerceTo] |
|
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.
|
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] |
|
audio [Dom_html.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] |
|
button_down [Graphics_js] |
Return true if the mouse button is pressed, false otherwise.
|
bytestring [Js] |
Conversion of strings of bytes from OCaml to Javascript.
|
C |
cached [Dom_html.Event] |
|
call [Jsonp] |
call ~timeout ~param url do a jsonp call using url .
|
call [Js.Unsafe] |
Performs a Javascript function call.
|
call_custom_url [Jsonp] |
call_custom_url ~timeout make_url .
|
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] |
|
circle [Dom_svg.CoerceTo] |
|
click [Lwt_js_events] |
|
click [Dom_html.Event] |
|
clicks [Lwt_js_events] |
|
clipPath [Dom_svg.CoerceTo] |
|
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 [Lwt_log_js] |
Logger that use the javascript console object.
|
console [Firebug] |
|
contained_by [Dom.DocumentPosition] |
|
contains [Dom.DocumentPosition] |
|
create [XmlHttpRequest] |
|
createA [Dom_svg] |
|
createA [Dom_html] |
|
createAbbr [Dom_html] |
|
createAddress [Dom_html] |
|
createAltGlyph [Dom_svg] |
|
createAltGlyphDef [Dom_svg] |
|
createAltGlyphItem [Dom_svg] |
|
createAnimate [Dom_svg] |
|
createAnimateColor [Dom_svg] |
|
createAnimateMotion [Dom_svg] |
|
createAnimateTransform [Dom_svg] |
|
createArea [Dom_html] |
|
createAudio [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] |
|
createCircle [Dom_svg] |
|
createCite [Dom_html] |
|
createClipPath [Dom_svg] |
|
createCode [Dom_html] |
|
createCol [Dom_html] |
|
createColgroup [Dom_html] |
|
createCursor [Dom_svg] |
|
createDd [Dom_html] |
|
createDefs [Dom_svg] |
|
createDel [Dom_html] |
|
createDesc [Dom_svg] |
|
createDfn [Dom_html] |
|
createDiv [Dom_html] |
|
createDl [Dom_html] |
|
createDt [Dom_html] |
|
createElement [Dom_svg] |
|
createEllipse [Dom_svg] |
|
createEm [Dom_html] |
|
createEmbed [Dom_html] |
|
createFieldset [Dom_html] |
|
createFilter [Dom_svg] |
|
createFont [Dom_svg] |
|
createFontFace [Dom_svg] |
|
createFontFaceFormat [Dom_svg] |
|
createFontFaceName [Dom_svg] |
|
createFontFaceSrc [Dom_svg] |
|
createFontFaceUri [Dom_svg] |
|
createForeignObject [Dom_svg] |
|
createForm [Dom_html] |
|
createFrame [Dom_html] |
|
createFrameset [Dom_html] |
|
createG [Dom_svg] |
|
createGlyph [Dom_svg] |
|
createGlyphRef [Dom_svg] |
|
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] |
|
createImage [Dom_svg] |
|
createImg [Dom_html] |
|
createInput [Dom_html] |
|
createIns [Dom_html] |
|
createKbd [Dom_html] |
|
createLabel [Dom_html] |
|
createLegend [Dom_html] |
|
createLi [Dom_html] |
|
createLineElement [Dom_svg] |
|
createLinearElement [Dom_svg] |
|
createLink [Dom_html] |
|
createMPath [Dom_svg] |
|
createMap [Dom_html] |
|
createMask [Dom_svg] |
|
createMeta [Dom_html] |
|
createMetaData [Dom_svg] |
|
createMissingGlyph [Dom_svg] |
|
createNoscript [Dom_html] |
|
createObject [Dom_html] |
|
createOl [Dom_html] |
|
createOptgroup [Dom_html] |
|
createOption [Dom_html] |
|
createP [Dom_html] |
|
createParam [Dom_html] |
|
createParttern [Dom_svg] |
|
createPath [Dom_svg] |
|
createPolygon [Dom_svg] |
|
createPolyline [Dom_svg] |
|
createPre [Dom_html] |
|
createQ [Dom_html] |
|
createRadialgradient [Dom_svg] |
|
createRect [Dom_svg] |
|
createSamp [Dom_html] |
|
createScript [Dom_svg] |
|
createScript [Dom_html] |
|
createSelect [Dom_html] |
|
createSet [Dom_svg] |
|
createSmall [Dom_html] |
|
createSpan [Dom_html] |
|
createStop [Dom_svg] |
|
createStrong [Dom_html] |
|
createStyle [Dom_svg] |
|
createStyle [Dom_html] |
|
createSub [Dom_html] |
|
createSup [Dom_html] |
|
createSvg [Dom_svg] |
|
createSwitch [Dom_svg] |
|
createSymbol [Dom_svg] |
|
createTable [Dom_html] |
|
createTbody [Dom_html] |
|
createTd [Dom_html] |
|
createTextElement [Dom_svg] |
|
createTextarea [Dom_html] |
|
createTextpath [Dom_svg] |
|
createTfoot [Dom_html] |
|
createTh [Dom_html] |
|
createThead [Dom_html] |
|
createTitle [Dom_svg] |
|
createTitle [Dom_html] |
|
createTr [Dom_html] |
|
createTref [Dom_svg] |
|
createTspan [Dom_svg] |
|
createTt [Dom_html] |
|
createUl [Dom_html] |
|
createUse [Dom_svg] |
|
createVar [Dom_html] |
|
createVideo [Dom_html] |
|
createView [Dom_svg] |
|
createhkern [Dom_svg] |
|
createvkern [Dom_svg] |
|
ctrl [Keycode] |
|
cursor [Dom_svg.CoerceTo] |
|
D |
dataView [Typed_array] |
|
dataView_inBuffer [Typed_array] |
|
date [Js] |
The date constructor, as an object.
|
date_day [Js] |
Constructor of Date objects: jsnew 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: jsnew date_fromTimeValue (t) returns a
Date object initialized with the time value t .
|
date_hour [Js] |
Constructor of Date objects: jsnew date_fromTimeValue (y, m, d, h)
returns a Date object corresponding to year y to hour h .
|
date_min [Js] |
Constructor of Date objects: jsnew 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: jsnew date_fromTimeValue (y, m)
returns a Date object corresponding to year y and month m .
|
date_ms [Js] |
Constructor of Date objects:
jsnew 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: jsnew date_now () returns a
Date object initialized with the current date.
|
date_sec [Js] |
Constructor of Date objects:
jsnew date_fromTimeValue (y, m, d, h, m', s)
returns a Date object corresponding to year y to second s .
|
dblclick [Lwt_js_events] |
|
dblclick [Dom_html.Event] |
|
dblclicks [Lwt_js_events] |
|
debug [Lwt_log_js] |
|
debug_f [Lwt_log_js] |
|
debugger [Js] |
Invokes any available debugging functionality.
|
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.
|
defaultContextAttributes [WebGL] |
|
default_http_port [Url] |
The default port for Http communications (80).
|
default_https_port [Url] |
The default port for Https communications (443).
|
defs [Dom_svg.CoerceTo] |
|
del [Dom_html.CoerceTo] |
|
delete [Keycode] |
|
delete [Js.Unsafe] |
Delete an object property.
|
desc [Dom_svg.CoerceTo] |
|
disconnected [Dom.DocumentPosition] |
|
dispatcher [Ocamlbuild_js_of_ocaml] |
The main dispatcher
|
div [Dom_html.CoerceTo] |
|
dl [Dom_html.CoerceTo] |
|
document [Dom_html] |
The current document
|
domContentLoaded [Lwt_js_events] |
|
domContentLoaded [Dom_html.Event] |
|
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_svg.CoerceTo] |
|
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
|
ellipse [Dom_svg.CoerceTo] |
|
embed [Dom_html.CoerceTo] |
|
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 [Lwt_log_js] |
|
error [XmlHttpRequest.Event] |
|
error [Lwt_js_events] |
|
error [File.ReaderEvent] |
|
error [Dom_html.Event] |
|
error_constr [Js] |
Constructor of Error objects:
jsnew error_constr (msg)
returns an Error object with the message msg .
|
error_f [Lwt_log_js] |
|
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.
|
eventSource [EventSource] |
|
eventSource_options [EventSource] |
|
eventTarget [Dom_html] |
see Dom.eventTarget
|
eventTarget [Dom] |
Returns which object is the target of this event.
|
execute [JsooTop] |
execute print fmt content Execute content .
|
expr [Js.Unsafe] |
expr e will parse the JavaScript expression e if e
is available at compile time or will failback to a
runtime evaluation.
|
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] |
|
fatal [Lwt_log_js] |
|
fatal_f [Lwt_log_js] |
|
fieldset [Dom_html.CoerceTo] |
|
fileReader [File] |
|
file_content [Sys_js] |
file_content name returns the content of the file name .
|
filename [File] |
filename handles old firefox without name property
|
filter [Dom_svg.CoerceTo] |
|
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] |
|
following [Dom.DocumentPosition] |
|
font [Dom_svg.CoerceTo] |
|
fontFace [Dom_svg.CoerceTo] |
|
fontFaceFormat [Dom_svg.CoerceTo] |
|
fontFaceName [Dom_svg.CoerceTo] |
|
fontFaceSrc [Dom_svg.CoerceTo] |
|
fontFaceUri [Dom_svg.CoerceTo] |
|
foreignObject [Dom_svg.CoerceTo] |
|
form [Dom_html.CoerceTo] |
|
formData [Form] |
|
formData_form [Form] |
|
form_elements [Form] |
|
frame [Dom_html.CoerceTo] |
|
frameset [Dom_html.CoerceTo] |
|
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.
|
func_limited_loop [Lwt_js_events] |
func_limited_loop event delay_fun target handler will behave like
Lwt_js_events.async_loop event target handler but it will run delay_fun
first, and execut handler only when delay_fun is finished and
no other event occurred in the meantime.
|
G |
g [Dom_svg.CoerceTo] |
|
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] |
|
getContextWithAttributes [WebGL] |
|
getDocumentScroll [Dom_html] |
Viewport top/left position
|
getElementById [Dom_svg] |
|
getElementById [Dom_html] |
getElementById id returns the element with the id id in the
current document.
|
get_context [Graphics_js] |
Get the current context
|
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 [Js.Unsafe] |
Javascript global object
|
global_replace [Regexp] |
global_replace r s by replaces all of the matches of r in s by by .
|
glyph [Dom_svg.CoerceTo] |
|
glyphRef [Dom_svg.CoerceTo] |
|
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.
|
has [Dom.DocumentPosition] |
|
hashchange [Dom_html.Event] |
|
head [Dom_html.CoerceTo] |
|
hkern [Dom_svg.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] |
|
ign_debug [Lwt_log_js] |
|
ign_debug_f [Lwt_log_js] |
|
ign_error [Lwt_log_js] |
|
ign_error_f [Lwt_log_js] |
|
ign_fatal [Lwt_log_js] |
|
ign_fatal_f [Lwt_log_js] |
|
ign_info [Lwt_log_js] |
|
ign_info_f [Lwt_log_js] |
|
ign_log [Lwt_log_js] |
|
ign_log_f [Lwt_log_js] |
|
ign_notice [Lwt_log_js] |
|
ign_notice_f [Lwt_log_js] |
|
ign_warning [Lwt_log_js] |
|
ign_warning_f [Lwt_log_js] |
|
image [Dom_svg.CoerceTo] |
|
img [Dom_html.CoerceTo] |
|
implementation_specific [Dom.DocumentPosition] |
|
info [Lwt_log_js] |
|
info_f [Lwt_log_js] |
|
initialize [JsooTop] |
Initialize Js_of_ocaml toplevel.
|
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.
|
J |
js [CSS.Angle] |
|
js [CSS.Length] |
|
js [CSS.Color] |
Projection from OCaml to Js.
|
js_of_ocaml_version [Sys_js] |
js_of_ocaml_version is the version of Js_of_ocaml.
|
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 [Dom_html.Event] |
|
keydowns [Lwt_js_events] |
|
keypress [Lwt_js_events] |
|
keypress [Dom_html.Event] |
|
keypresses [Lwt_js_events] |
|
keyup [Lwt_js_events] |
|
keyup [Dom_html.Event] |
|
keyups [Lwt_js_events] |
|
L |
label [Dom_html.CoerceTo] |
|
left [Keycode] |
|
legend [Dom_html.CoerceTo] |
|
li [Dom_html.CoerceTo] |
|
limited_loop [Lwt_js_events] |
Same as func_limited_loop but take time instead of function
By default elapsed_time = 0.1s = 100ms *
|
limited_onorientationchanges [Lwt_js_events] |
|
limited_onorientationchanges_or_onresizes [Lwt_js_events] |
|
limited_onresizes [Lwt_js_events] |
|
lineElement [Dom_svg.CoerceTo] |
|
linearElement [Dom_svg.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] |
|
log [Lwt_log_js] |
log ?section ?logger ~level message logs a message.
|
log_f [Lwt_log_js] |
log_f is the same as log except that it takes a format
string
|
loop [Graphics_js] |
Mouse and keyboard events
|
M |
mPath [Dom_svg.CoerceTo] |
|
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] |
|
mask [Dom_svg.CoerceTo] |
|
match_result [Js] |
Convert a match result handle into a MatchResult object.
|
matched_group [Regexp] |
matched_group r i is the i th 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] |
|
metaData [Dom_svg.CoerceTo] |
|
meth_call [Js.Unsafe] |
Performs a Javascript method call.
|
minus [Keycode] |
|
missingGlyph [Dom_svg.CoerceTo] |
|
ml [CSS.Angle] |
|
ml [CSS.Length] |
|
ml [CSS.Color] |
Projection from Js to OCaml.
|
mouseEvent [Dom_html.CoerceTo] |
|
mouseScrollEvent [Dom_html.CoerceTo] |
|
mouse_pos [Graphics_js] |
Mouse and keyboard polling
|
mousedown [Lwt_js_events] |
|
mousedown [Dom_html.Event] |
|
mousedowns [Lwt_js_events] |
|
mousemove [Lwt_js_events] |
|
mousemove [Dom_html.Event] |
|
mousemoves [Lwt_js_events] |
|
mouseout [Lwt_js_events] |
|
mouseout [Dom_html.Event] |
|
mouseouts [Lwt_js_events] |
|
mouseover [Lwt_js_events] |
|
mouseover [Dom_html.Event] |
|
mouseovers [Lwt_js_events] |
|
mouseup [Lwt_js_events] |
|
mouseup [Dom_html.Event] |
|
mouseups [Lwt_js_events] |
|
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] |
|
notice [Lwt_log_js] |
|
notice_f [Lwt_log_js] |
|
noupdate [Dom_html.Event] |
|
null [Js] |
The null value.
|
number_of_float [Js] |
Conversion of OCaml floats to Javascript number objects.
|
O |
oasis_support [Ocamlbuild_js_of_ocaml] |
Map each targets given as argument to ocamlbuild and replace each element
that exists in ~executables by its corresponding .js target.
|
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
|
onorientationchange [Lwt_js_events] |
|
onorientationchange_or_onresize [Lwt_js_events] |
|
onorientationchanges [Lwt_js_events] |
|
onorientationchanges_or_onresizes [Lwt_js_events] |
|
onpopstate [Lwt_js_events] |
|
onpopstates [Lwt_js_events] |
|
onresize [Lwt_js_events] |
|
onresizes [Lwt_js_events] |
|
onunload [Lwt_js_events] |
|
open_canvas [Graphics_js] |
use a canvas to setup the current context
|
open_graph [Graphics_js] |
Open a graphics window.
|
opt_tagged [Dom_html] |
|
opt_taggedEvent [Dom_html] |
|
optgroup [Dom_html.CoerceTo] |
|
option [Js.OPT] |
Convert option type.
|
option [Dom_html.CoerceTo] |
|
orientationchange [Dom_html.Event] |
|
output [Json] |
Marshal any OCaml value into this JSON representation.
|
P |
p [Dom_html.CoerceTo] |
|
param [Dom_html.CoerceTo] |
|
parseFloat [Js] |
|
parseInt [Js] |
|
parttern [Dom_svg.CoerceTo] |
|
path [Url.Current] |
The path of the current url as a list of small string.
|
path [Dom_svg.CoerceTo] |
|
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_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] |
|
polygon [Dom_svg.CoerceTo] |
|
polyline [Dom_svg.CoerceTo] |
|
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] |
|
preceding [Dom.DocumentPosition] |
|
preventDefault [Dom] |
Call this to prevent the default handler for the event.
|
print_error [Js] |
|
progress [XmlHttpRequest.Event] |
|
progress [File.ReaderEvent] |
|
progress [Dom_html.Event] |
|
protocol [Url.Current] |
The protocol of the current url.
|
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 |
radialgradient [Dom_svg.CoerceTo] |
|
readAsBinaryString [File] |
|
readAsDataURL [File] |
|
readAsText [File] |
|
readAsText_withEncoding [File] |
|
read_key [Graphics_js] |
Wait for a key to be pressed, and return the corresponding
character.
|
readystatechange [XmlHttpRequest.Event] |
|
rect [Dom_svg.CoerceTo] |
|
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_case_fold [Regexp] |
Same as regexp but matching will be performed in a case
insensitive way.
|
regexp_string [Regexp] |
regexp_string s creates a regexp matching the exact string s .
|
regexp_string_case_fold [Regexp] |
Same as regexp_string but matching will be performed in a case
insensitive way.
|
regexp_with_flag [Regexp] |
Regexp constructor with flag that allow for case-insensitive search
or multiline search (the global flag is always set).
|
register_autoload [Sys_js] |
Register a callback to the path to dynamicly load missing files.
|
register_file [Sys_js] |
Register a file to a Pseudo Filesystem.
|
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] |
|
S |
script [Dom_svg.CoerceTo] |
|
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 .
|
search_forward [Regexp] |
Same as search .
|
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 [Dom_svg.CoerceTo] |
|
set_channel_flusher [Sys_js] |
Set a callback to be called when an out_channel flush its buffer.
|
set_context [Graphics_js] |
Set the current context
|
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 .
|
stop [Dom_svg.CoerceTo] |
|
stopPropagation [Dom_html] |
|
stop_listen [Dom_events] |
|
str_array [Js] |
Convert an opaque string_array t object into an array of
string.
|
string [Js] |
Conversion of strings from OCaml to Javascript.
|
string [File.CoerceTo] |
|
string_constr [Js] |
The string constructor, as an object.
|
string_match [Regexp] |
string_match r s i matches the string s starting from the i th
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_svg.CoerceTo] |
|
style [Dom_html.CoerceTo] |
|
submit [Lwt_js_events] |
|
submit [Dom_html.Event] |
|
submits [Lwt_js_events] |
|
super [Keycode] |
|
svg [Dom_svg.CoerceTo] |
|
svg_element [Dom_svg] |
|
switch [Dom_svg.CoerceTo] |
|
symbol [Dom_svg.CoerceTo] |
|
T |
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] |
|
textElement [Dom_svg.CoerceTo] |
|
textarea [Dom_html.CoerceTo] |
|
textpath [Dom_svg.CoerceTo] |
|
tfoot [Dom_html.CoerceTo] |
|
th [Dom_html.CoerceTo] |
|
thead [Dom_html.CoerceTo] |
|
timeout [XmlHttpRequest.Event] |
|
timeupdate [Lwt_js_events] |
|
timeupdate [Dom_html.Event] |
|
timeupdates [Lwt_js_events] |
|
title [Dom_svg.CoerceTo] |
|
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 [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.
|
tref [Dom_svg.CoerceTo] |
|
tspan [Dom_svg.CoerceTo] |
|
typeof [Js] |
Returns the type of a Javascript object.
|
U |
uint16Array [Typed_array] |
|
uint16Array_fromArray [Typed_array] |
|
uint16Array_fromBuffer [Typed_array] |
|
uint16Array_fromTypedArray [Typed_array] |
|
uint16Array_inBuffer [Typed_array] |
|
uint32Array [Typed_array] |
|
uint32Array_fromArray [Typed_array] |
|
uint32Array_fromBuffer [Typed_array] |
|
uint32Array_fromTypedArray [Typed_array] |
|
uint32Array_inBuffer [Typed_array] |
|
uint8Array [Typed_array] |
|
uint8Array_fromArray [Typed_array] |
|
uint8Array_fromBuffer [Typed_array] |
|
uint8Array_fromTypedArray [Typed_array] |
|
uint8Array_inBuffer [Typed_array] |
|
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.
|
unload [Dom_html.Event] |
|
unsafe_get [Typed_array] |
|
unsafe_input [Json] |
Unmarshal 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.
|
use [JsooTop] |
use fmt content Execute commands content .
|
use [Dom_svg.CoerceTo] |
|
V |
variable [Js.Unsafe] |
Access a Javascript variable.
|
video [Dom_html.CoerceTo] |
|
view [Dom_svg.CoerceTo] |
|
vkern [Dom_svg.CoerceTo] |
|
W |
warning [Lwt_log_js] |
|
warning_f [Lwt_log_js] |
|
webSocket [WebSockets] |
|
webSocket_withProtocol [WebSockets] |
|
webSocket_withProtocols [WebSockets] |
|
webglcontextcreationerror [WebGL.Event] |
|
webglcontextlost [WebGL.Event] |
|
webglcontextrestored [WebGL.Event] |
|
wheelEvent [Dom_html.CoerceTo] |
|
window [Keycode] |
|
window [Dom_html] |
The current window
|
withCredentials [EventSource] |
|
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.
|
X |
xmlns [Dom_svg] |
Types
|
Y |
yield [Lwt_js] |
yield () is a threads which suspends itself and then resumes
as soon as possible and terminates.
|