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.
Utilisation
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);Signatures
(): SplashLayout | nullParamètres
Aucun paramètre.
Retourne
Layout
Généré depuis les déclarations TypeScript publiques : signatures, props et valeurs par défaut viennent de la source vérifiée, les descriptions de sa JSDoc. Aucune valeur par défaut n'est inventée.