Skip to content

Commit

Permalink
fix(demo): enhanced and improved the demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyNahas committed Sep 26, 2020
1 parent cca828b commit ea2d715
Show file tree
Hide file tree
Showing 9 changed files with 724 additions and 554 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Other modules in your application like for lazy loading import ` NgxLongPress2Mo
| minTime | `Input()` | `number` | `500` | the minimum time to fire onLongPress event (in ms)
| maxTime | `Input()` | `number` | `2000` | the maximum time to fire onReleasePressing event (in ms)
| onLongPress | `Output()` | `EventEmitter<void>` | - | emits when the minTime is exceeded
| onLongPressing | `Output()` | `EventEmitter<void>` | - | emits when the user is pressing
| onLongPressing | `Output()` | `EventEmitter<number>` | - | emits when the user is pressing and the time lapsed in ms will be emitted
| onReleasePressing | `Output()` | `EventEmitter<void>` | - | emits when the maxTime is exceeded or touchend, mouseup and mouseleave haven been emitted


Expand Down
10 changes: 7 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
"src/styles.scss"
"src/styles.scss",
"./node_modules/prismjs/themes/prism-okaidia.css"
],
"scripts": []
"scripts": [
"./node_modules/prismjs/prism.js",
"./node_modules/prismjs/components/prism-typescript.min.js"
]
},
"configurations": {
"production": {
Expand Down Expand Up @@ -223,4 +227,4 @@
"cli": {
"analytics": "cedecc33-7446-4f54-a534-fd69bc169957"
}
}
}
87 changes: 85 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@angular/router": "~10.0.3",
"@nguniversal/express-engine": "^10.0.2",
"express": "^4.15.2",
"ngx-markdown": "^10.1.1",
"rxjs": "~6.5.5",
"tslib": "^2.0.0",
"zone.js": "~0.10.3"
Expand Down
Loading

0 comments on commit ea2d715

Please sign in to comment.