package brr

  1. Overview
  2. Docs
Browser programming toolkit for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

brr-0.0.8.tbz
sha512=49e7bfbad2ea6a0139354e4a33c59c8a113c4c1e20a4f629bc5cad24aa801e474b4af10ce35adbda5d23dd294d1de5efa5b10bb3030d03f4758459977250a0f6

doc/brr/Brr/Navigator/index.html

Module Brr.NavigatorSource

Navigator objects.

Some of the objects that are accessed from Navigator objects have the accessor in the module that handles them:

Sourcetype t

The type for navigator Navigator objects. See G.navigator for the global navigator object.

Sourceval languages : t -> Jstr.t list

languages n is the user's preferred languages as BCP 47 language tags ordered by decreasing preference.

This consults navigator.languages and navigator.language. See also Ev.languagechange

Sourceval max_touch_points : t -> int

max_touch_points n is the maximum number of simultaneous touch contacts supported by the user agent. See the pointer events spec.

Sourceval online : t -> bool

online n is the online status of the browser. See the docs, the semantics is browser dependent.