package server-reason-react

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Js.GlobalSource

Contains functions available in the global scope (window in a browser context)

Sourcetype intervalId

Identify an interval started by setInterval

Sourcetype timeoutId

Identify timeout started by setTimeout

Sourceval clearInterval : intervalId -> unit
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval clearTimeout : timeoutId -> unit
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval setInterval : f:(unit -> unit) -> int -> intervalId
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval setIntervalFloat : f:(unit -> unit) -> float -> intervalId
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval setTimeout : f:(unit -> unit) -> int -> timeoutId
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval setTimeoutFloat : f:(unit -> unit) -> float -> timeoutId
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval encodeURI : string -> string
Sourceval decodeURI : string -> string
Sourceval encodeURIComponent : string -> string
Sourceval decodeURIComponent : string -> string
Sourceval parseFloat : string -> float

Parses a string and returns a floating point number. Returns NaN if parsing fails.

Sourceval parseInt : ?radix:int -> string -> float

Parses a string and returns an integer. Returns NaN if parsing fails.

  • parameter radix

    The base (2-36) to use for parsing. Default is 10.