splash.SplashFrame
A rectangle of the window, in points (iOS) and dp (Android).
Verwendung
Read the native splash layout.
Dieser Typ wird verwendet von splash.layout
// Read the native splash layout.
import { splash } from 'kuito';
const layout = splash.layout(); // null without a splash
if (layout) console.log(layout.logo.y + layout.logo.height, layout.brand?.width);Typdeklaration
export type SplashFrame = Frame;Mitglieder 4
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
x | number | Ja | — |
y | number | Ja | — |
width | number | Ja | — |
height | number | Ja | — |
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.