Screen helpers · interface
SplashConditions
What decides whether a badge is shown at all. Taken as data so the rule is testable in Node, which is where the engine's tests run — the mount below is verified by looking at it.
Explained in Recording and clips.
interface SplashConditionsimport type { SplashConditions } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
enabledreadonly | boolean | What the consumer asked for. true unless it opted out. |
packagedShellreadonly | boolean | Running inside drift-package, whose shell shows the same badge in its own window. |
searchreadonly | string | The query string, so the flag can be flipped on a deployed build. |
documentreadonly | boolean | Whether there is a document to mount on at all. False in a test, a bake or a worker. |