@varsitysoftware/capacitor-plugin-safe-area
v0.0.15
Published
A plugin to get safe area info
Maintainers
Readme
@varsitysoftware/capacitor-plugin-safe-area
A plugin to get safe area info
Install
npm install @varsitysoftware/capacitor-plugin-safe-area
npx cap syncAPI
getSafeAreaInsets()
getSafeAreaInsets() => Promise<SafeAreaInsets>Returns: Promise<SafeAreaInsets>
getStatusBarHeight()
getStatusBarHeight() => Promise<StatusBarInfo>Returns: Promise<StatusBarInfo>
Interfaces
SafeAreaInsets
| Prop | Type |
| ------------ | --------------------------------------------- |
| insets | SafeArea |
SafeArea
| Prop | Type |
| ------------ | ------------------- |
| top | number |
| right | number |
| bottom | number |
| left | number |
StatusBarInfo
| Prop | Type |
| --------------------- | ------------------- |
| statusBarHeight | number |
