MobileOptions

Adjusts options page for mobile (Android) compatibility.

Notice: You can include this asyncronously even when the whole DOM is not parsed yet. It only accesses the body tag and that is very likely available as it's likely one of the first HTML tags that is written and this script is obviously included afterwards in the head tag. This prevents unnecessary flackering when the CSS is added and the browser needs to re-parse/render the HTML.

Source:

Methods

(static) init() → {Promise}

Source:

Initalize this module.

Currently this just adds a CSS class. You can e.g. use this to disable all incompatible options on mobile devices.

Returns:
Type
Promise