ionic2-calendar
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -0,2 +1,4 @@ | ||
import 'intl'; | ||
import 'intl/locale-data/jsonp/en'; | ||
export declare class NgCalendarModule { | ||
} |
import { NgModule } from '@angular/core'; | ||
import { IonicModule } from 'ionic-angular'; | ||
import 'intl'; | ||
import 'intl/locale-data/jsonp/en'; | ||
import { MonthViewComponent } from './monthview'; | ||
@@ -4,0 +6,0 @@ import { WeekViewComponent } from './weekview'; |
@@ -11,3 +11,3 @@ import { DatePipe } from '@angular/common'; | ||
this.onTimeSelected = new EventEmitter(); | ||
this.onTitleChanged = new EventEmitter(); | ||
this.onTitleChanged = new EventEmitter(true); | ||
this.slideOption = { | ||
@@ -32,7 +32,4 @@ runCallbacksOnInit: false, | ||
DayViewComponent.prototype.ngAfterViewInit = function () { | ||
var me = this; | ||
var title = this.getTitle(); | ||
setTimeout(function () { | ||
me.onTitleChanged.emit(title); | ||
}, 0); | ||
this.onTitleChanged.emit(title); | ||
}; | ||
@@ -39,0 +36,0 @@ DayViewComponent.prototype.ngOnChanges = function (changes) { |
@@ -9,4 +9,4 @@ import { Component, Input, Output, EventEmitter, ViewChild } from '@angular/core'; | ||
this.onEventSelected = new EventEmitter(); | ||
this.onTimeSelected = new EventEmitter(); | ||
this.onTitleChanged = new EventEmitter(); | ||
this.onTimeSelected = new EventEmitter(true); | ||
this.onTitleChanged = new EventEmitter(true); | ||
this.slideOption = { | ||
@@ -40,7 +40,4 @@ runCallbacksOnInit: false, | ||
MonthViewComponent.prototype.ngAfterViewInit = function () { | ||
var me = this; | ||
var title = this.getTitle(); | ||
setTimeout(function () { | ||
me.onTitleChanged.emit(title); | ||
}, 0); | ||
this.onTitleChanged.emit(title); | ||
}; | ||
@@ -47,0 +44,0 @@ MonthViewComponent.prototype.onSlideChanged = function () { |
{ | ||
"name": "ionic2-calendar", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "Ionic2 calendar component", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -11,3 +11,3 @@ import { DatePipe } from '@angular/common'; | ||
this.onTimeSelected = new EventEmitter(); | ||
this.onTitleChanged = new EventEmitter(); | ||
this.onTitleChanged = new EventEmitter(true); | ||
this.slideOption = { | ||
@@ -32,7 +32,4 @@ runCallbacksOnInit: false, | ||
WeekViewComponent.prototype.ngAfterViewInit = function () { | ||
var me = this; | ||
var title = this.getTitle(); | ||
setTimeout(function () { | ||
me.onTitleChanged.emit(title); | ||
}, 0); | ||
this.onTitleChanged.emit(title); | ||
}; | ||
@@ -39,0 +36,0 @@ WeekViewComponent.prototype.ngOnChanges = function (changes) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
573852
7002