Add swipe

This commit is contained in:
Peter Maquiran
2021-01-16 17:44:38 +01:00
parent 4f39796033
commit cde236d4ca
4 changed files with 14 additions and 2 deletions
+6
View File
@@ -3328,6 +3328,12 @@
"semver": "^5.4.1"
}
},
"angular-swipe": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/angular-swipe/-/angular-swipe-0.4.0.tgz",
"integrity": "sha1-wwpyFLEhKIMzIu5ECbM7Ojx0AGc=",
"dev": true
},
"angular-tag-cloud-module": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/angular-tag-cloud-module/-/angular-tag-cloud-module-5.2.0.tgz",
+1
View File
@@ -66,6 +66,7 @@
"@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"angular-swipe": "^0.4.0",
"codelyzer": "^5.1.2",
"cordova-android": "^9.0.0",
"cordova-browser": "^6.0.0",
+2 -2
View File
@@ -2,7 +2,7 @@
<app-header></app-header>
</ion-header>
<ion-content class="main bg-blue">
<ion-content class="main bg-blue" ng-controller="AppController">
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
<ion-label>
@@ -17,7 +17,7 @@
<div class="meeting-description"> "{{currentEvent}}"</div>
</div>
<div class="conteiner-box">
<div class="conteiner-box" ng-swipe-up="swipe($event)">
<div class="schedule">
<div class="schedule-header">
<div class="title">
+5
View File
@@ -76,6 +76,11 @@ export class EventsPage implements OnInit {
}
swipe(){
console.log('!!!!');
}
ngOnInit() {
//Inicializar segment
this.segment = "Combinada";