You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 24, 2020. It is now read-only.
The main reason behind this fork is that I was facing a problem with hammerjs, which was freezing the scrolling of my application's on iOS and Android when I was using (swipe) on a list or on an ion-scroll.
9
+
After having unsuccessfully tried many solutions I was thinking, after all, that Ionic already include is own version of hammer.
10
+
Therefore I decided to create this fork with the goal to make a version of swing.js which doesn't embed any external hammerjs.
11
+
12
+
## Current status
13
+
14
+
This fork project is in beta version but seems to work.
15
+
16
+
Possible improvements not yet done:
17
+
18
+
- Improve typescripting and remove class swing.ts
19
+
- The fork special dependencies are, inherited from swing.js, lodash, raf, rebound, sister, vendor-prefix. For bundle size reason mostly, it should be checked if these can't be replaced with native code or smaller libs.
20
+
3
21
## Installation
4
22
5
23
To install this library, run:
@@ -8,50 +26,27 @@ To install this library, run:
8
26
$ npm install ionic-swing --save
9
27
```
10
28
11
-
## Consuming your library
29
+
## Usage
12
30
13
-
Once you have published your library to npm, you can import your library in any Angular application by running:
31
+
### 1. Import the IonicSwingModule
14
32
15
-
```bash
16
-
$ npm install ionic-swing
17
-
```
18
-
19
-
and then from your Angular `AppModule`:
33
+
In your app.module.ts, import the library like following:
0 commit comments