SplashLayout
Where the launch screen draws its logo and brand.
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 SplashLayout = Layout;Mitglieder 2
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
logo | SplashFrame | Ja | — |
brand | SplashFrame | Ja | — |
logo — verschachtelte Felder
logo Felder
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
x | number | Ja | — |
y | number | Ja | — |
width | number | Ja | — |
height | number | Ja | — |
brand — verschachtelte Felder
brand Felder
| 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.