A plugin to get safe area info
npm install @varsitysoftware/capacitor-plugin-safe-area
npx cap syncgetSafeAreaInsets() => Promise<SafeAreaInsets>Returns: Promise<SafeAreaInsets>
getStatusBarHeight() => Promise<StatusBarInfo>Returns: Promise<StatusBarInfo>
| Prop | Type |
|---|---|
insets |
SafeArea |
| Prop | Type |
|---|---|
top |
number |
right |
number |
bottom |
number |
left |
number |
| Prop | Type |
|---|---|
statusBarHeight |
number |