capacitor-plugin-safe-area
Version:
a capacitor plugin to get SafeArea info on Android and IOS
8 lines (7 loc) • 358 B
TypeScript
import { WebPlugin } from '@capacitor/core';
import type { SafeAreaPlugin, SafeAreaInsets, StatusBarInfo } from './definitions';
export declare class SafeAreaWeb extends WebPlugin implements SafeAreaPlugin {
getSafeAreaInsets(): Promise<SafeAreaInsets>;
getStatusBarHeight(): Promise<StatusBarInfo>;
setImmersiveNavigationBar(): Promise<void>;
}