Skip to content

Commit 2d93cf2

Browse files
Update README.md
1 parent fbfb5b0 commit 2d93cf2

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,16 @@ Demo available [Here](https://ngu-carousel.firebaseapp.com)
3232
#### hammer.js
3333

3434
Now ngu-carousel supports touch with the help of hammerjs.
35-
You can import it in the `main.ts` file like this
35+
You can install and import it in the `main.ts` file like this
3636

37-
`npm install hammerjs --save`
37+
```
38+
npm install hammerjs --save
39+
```
40+
41+
```typescript
42+
// main.ts
43+
import 'hammerjs';
44+
```
3845

3946
## Usage
4047

0 commit comments

Comments
 (0)