v-disable-swipe-back

1.0.3 • Public • Published

v-disable-swipe-back

Getting Started

You can install v-disable-swipe-back using npm.

npm install v-disable-swipe-back

Then in main.ts of your ionic vue project

import App from './App.vue';

import {DisableSwipeBackDirective} from 'v-disable-swipe-back';

const app = createApp(App)
  .directive('disable-swipe-back', DisableSwipeBackDirective);

In vue template include directive in ion-page

<ion-page v-disable-swipe-back>
 ...
</ion-page>

Package Sidebar

Install

npm i v-disable-swipe-back

Weekly Downloads

76

Version

1.0.3

License

MIT

Unpacked Size

1.43 kB

Total Files

3

Last publish

Collaborators

  • sitronik