@syncfusion/ej2-ng-base
Advanced tools
Comparing version 15.4.20 to 15.4.21
@@ -20,6 +20,5 @@ /** | ||
this.appendTo(this.element); | ||
if (this.ngEle.nativeElement.nodeName.toLowerCase() !== 'input') { | ||
this.element.addEventListener('focus', this.ngOnFocus.bind(this)); | ||
this.element.addEventListener('blur', this.ngOnBlur.bind(this)); | ||
} | ||
var ele = this.inputElement || this.element; | ||
ele.addEventListener('focus', this.ngOnFocus.bind(this)); | ||
ele.addEventListener('blur', this.ngOnBlur.bind(this)); | ||
}; | ||
@@ -33,2 +32,3 @@ FormBase.prototype.writeValue = function (value) { | ||
FormBase.prototype.ngOnBlur = function (e) { | ||
this.propagateTouch(); | ||
this.blur.emit(e); | ||
@@ -35,0 +35,0 @@ }; |
{ | ||
"name": "@syncfusion/ej2-ng-base", | ||
"version": "15.4.20", | ||
"version": "15.4.21", | ||
"description": "Essential JS 2 Angular Base", | ||
@@ -18,3 +18,3 @@ "author": "Syncfusion Inc.", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "^15.4.20", | ||
"@syncfusion/ej2-base": "^15.4.21", | ||
"zone.js": "^0.7.2", | ||
@@ -21,0 +21,0 @@ "core-js": "^2.4.1", |
@@ -11,2 +11,3 @@ import { EventEmitter } from '@angular/core'; | ||
element: HTMLElement; | ||
inputElement: HTMLInputElement; | ||
private ngEle; | ||
@@ -13,0 +14,0 @@ appendTo: (ele: string | HTMLElement) => void; |
@@ -20,6 +20,5 @@ define(["require", "exports"], function (require, exports) { | ||
this.appendTo(this.element); | ||
if (this.ngEle.nativeElement.nodeName.toLowerCase() !== 'input') { | ||
this.element.addEventListener('focus', this.ngOnFocus.bind(this)); | ||
this.element.addEventListener('blur', this.ngOnBlur.bind(this)); | ||
} | ||
var ele = this.inputElement || this.element; | ||
ele.addEventListener('focus', this.ngOnFocus.bind(this)); | ||
ele.addEventListener('blur', this.ngOnBlur.bind(this)); | ||
}; | ||
@@ -33,2 +32,3 @@ FormBase.prototype.writeValue = function (value) { | ||
FormBase.prototype.ngOnBlur = function (e) { | ||
this.propagateTouch(); | ||
this.blur.emit(e); | ||
@@ -35,0 +35,0 @@ }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3075546
27062