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 SplashConditions
import type { SplashConditions } from '@driftengine/core';

Properties

NameTypeDescription
enabledreadonlybooleanWhat the consumer asked for. true unless it opted out.
packagedShellreadonlybooleanRunning inside drift-package, whose shell shows the same badge in its own window.
documentreadonlybooleanWhether there is a document to mount on at all. False in a test, a bake or a worker.