fix
This commit is contained in:
@@ -5,5 +5,9 @@
|
||||
</ion-header>
|
||||
|
||||
<ion-content>
|
||||
<div class="ion-padding">
|
||||
|
||||
{{mycal}}
|
||||
|
||||
</div>
|
||||
</ion-content>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { Component, OnInit,ViewChild } from '@angular/core';
|
||||
import { Calendar } from '@ionic-native/calendar/ngx';
|
||||
|
||||
@Component({
|
||||
selector: 'app-merms-calendar',
|
||||
@@ -6,8 +7,23 @@ import { Component, OnInit } from '@angular/core';
|
||||
styleUrls: ['./merms-calendar.page.scss'],
|
||||
})
|
||||
export class MermsCalendarPage implements OnInit {
|
||||
calendar={
|
||||
mode:'month',
|
||||
currentDate: new DataCue(),
|
||||
};
|
||||
|
||||
@ViewChild(Calendar) mycal: Calendar;
|
||||
|
||||
|
||||
constructor() {
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user