0.0.3 • Published 2 years ago
@varsitysoftware/capacitor-plugin-safe-area v0.0.3
@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 |