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.
Utilização
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);Assinaturas
(): SplashLayout | nullParâmetros
Sem parâmetros.
Devolve
Layout
Gerado a partir das declarações TypeScript públicas: assinaturas, props e predefinições vêm da fonte verificada, as descrições da sua JSDoc. Nenhuma predefinição é inventada.