"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib/datepicker/datepicker-toggle.ts" between
material2-7.3.2.tar.gz and material2-7.3.3.tar.gz

About: material2 offers Material Design components for Angular.

datepicker-toggle.ts  (material2-7.3.2):datepicker-toggle.ts  (material2-7.3.3)
skipping to change at line 93 skipping to change at line 93
constructor( constructor(
public _intl: MatDatepickerIntl, public _intl: MatDatepickerIntl,
private _changeDetectorRef: ChangeDetectorRef, private _changeDetectorRef: ChangeDetectorRef,
@Attribute('tabindex') defaultTabIndex: string) { @Attribute('tabindex') defaultTabIndex: string) {
const parsedTabIndex = Number(defaultTabIndex); const parsedTabIndex = Number(defaultTabIndex);
this.tabIndex = (parsedTabIndex || parsedTabIndex === 0) ? parsedTabIndex : null; this.tabIndex = (parsedTabIndex || parsedTabIndex === 0) ? parsedTabIndex : null;
} }
ngOnChanges(changes: SimpleChanges) { ngOnChanges(changes: SimpleChanges) {
if (changes.datepicker) { if (changes['datepicker']) {
this._watchStateChanges(); this._watchStateChanges();
} }
} }
ngOnDestroy() { ngOnDestroy() {
this._stateChanges.unsubscribe(); this._stateChanges.unsubscribe();
} }
ngAfterContentInit() { ngAfterContentInit() {
this._watchStateChanges(); this._watchStateChanges();
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)