1.0.2 • Published 10 months ago
@saundapp/swipeback v1.0.2
swipeback
Add swipe gesture to go back based on current route
Install
npm install swipeback
npx cap sync
API
setAllowsBackForwardNavigationGestures(...)
setAllowsBackForwardNavigationGestures(options: { allow: boolean; }) => Promise<void>
Param | Type |
---|---|
options | { allow: boolean; } |
clearHistory()
clearHistory() => Promise<void>