package brr

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

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.

OCaml

Innovation. Community. Security.