Screen helpers · function
fullscreenWanted
Whether to ask for fullscreen on the gesture currently being handled.
Explained in Recording and clips.
function fullscreenWanted(conditions: FullscreenConditions): booleanimport { fullscreenWanted } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
conditions | FullscreenConditions |
In depth
Pure, so all four restraints are checkable without a browser — which is the whole of this module's logic. The call itself is one line and is verified by hand, per AGENTS.md's rule that DOM is not unit-tested.