splash.layout
Where the splash draws its logo and brand; null when the app has no splash. The platform's frames are checked: finite, and not empty.
Verwendung
Read the native 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);Signaturen
(): SplashLayout | nullParameter
Keine Parameter.
Rückgabe
Layout
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.