package brr

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

Module Brr.Navigator

Navigator objects.

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

type t

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

val 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

val 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.

val online : t -> bool

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

OCaml

Innovation. Community. Security.