Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-resize-observer

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-resize-observer - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

bundles/ngx-resize-observer.umd.js

@@ -37,6 +37,2 @@ (function (global, factory) {

*/
/**
* @record
*/
function ResizeObserver() { }
var NgxResizeObserverService = /** @class */ (function () {

@@ -43,0 +39,0 @@ function NgxResizeObserverService(ngZone) {

2

bundles/ngx-resize-observer.umd.min.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("ngx-resize-observer",["exports","@angular/core"],t):t((e=e||self)["ngx-resize-observer"]={},e.ng.core)}(this,function(e,t){"use strict";function r(){}var n=function(){function e(e){this.ngZone=e,this.count=0,this.elementMap=new Map,this.observer=null}return e.prototype.ngOnDestroy=function(){this.observer&&this.clearObserver()},e.prototype.observe=function(e,t,n){var o=this;this.observer||(this.observer=new r(function(e){var t,r,n=function(e){var t=o.elementMap.get(e.target);t&&o.ngZone.run(function(){t(e)})};try{for(var i=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}(e),s=i.next();!s.done;s=i.next()){n(s.value)}}catch(u){t={error:u}}finally{try{s&&!s.done&&(r=i["return"])&&r.call(i)}finally{if(t)throw t.error}}})),"border-box"===n?this.observer.observe(e,{box:"border-box"}):this.observer.observe(e),this.count+=1,this.elementMap.set(e,t)},e.prototype.unobserve=function(e){this.elementMap.get(e)&&(this.observer.unobserve(e),this.elementMap["delete"](e),this.count-=1,0===this.count&&this.clearObserver())},e.prototype.clearObserver=function(){this.observer.disconnect(),this.observer=null,this.count=0,this.elementMap=new Map},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:t.NgZone}]},e}(),o=function(){function e(e,r){this.elementRef=e,this.ngxResizeObserverService=r,this.onResize=new t.EventEmitter,this.observing=!1}return e.prototype.ngAfterViewInit=function(){this.observe()},e.prototype.ngOnChanges=function(e){this.observing&&(e.resizeBoxModel||e.onResize)&&(this.unobserve(),this.observe())},e.prototype.ngOnDestroy=function(){this.unobserve()},e.prototype.observe=function(){var e=this;this.observing||(this.ngxResizeObserverService.observe(this.elementRef.nativeElement,function(t){return e.onResize.emit(t)},this.resizeBoxModel),this.observing=!0)},e.prototype.unobserve=function(){this.observing&&(this.ngxResizeObserverService.unobserve(this.elementRef.nativeElement),this.observing=!1)},e.decorators=[{type:t.Directive,args:[{selector:"[onResize]"}]}],e.ctorParameters=function(){return[{type:t.ElementRef},{type:n}]},e.propDecorators={resizeBoxModel:[{type:t.Input}],onResize:[{type:t.Output}]},e}(),i=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[o],exports:[o],providers:[n]}]}],e}();e.NgxResizeObserverDirective=o,e.NgxResizeObserverModule=i,e.NgxResizeObserverService=n,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("ngx-resize-observer",["exports","@angular/core"],t):t((e=e||self)["ngx-resize-observer"]={},e.ng.core)}(this,function(e,t){"use strict";var r=function(){function e(e){this.ngZone=e,this.count=0,this.elementMap=new Map,this.observer=null}return e.prototype.ngOnDestroy=function(){this.observer&&this.clearObserver()},e.prototype.observe=function(e,t,r){var n=this;this.observer||(this.observer=new ResizeObserver(function(e){var t,r,o=function(e){var t=n.elementMap.get(e.target);t&&n.ngZone.run(function(){t(e)})};try{for(var s=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}(e),i=s.next();!i.done;i=s.next()){o(i.value)}}catch(u){t={error:u}}finally{try{i&&!i.done&&(r=s["return"])&&r.call(s)}finally{if(t)throw t.error}}})),"border-box"===r?this.observer.observe(e,{box:"border-box"}):this.observer.observe(e),this.count+=1,this.elementMap.set(e,t)},e.prototype.unobserve=function(e){this.elementMap.get(e)&&(this.observer.unobserve(e),this.elementMap["delete"](e),this.count-=1,0===this.count&&this.clearObserver())},e.prototype.clearObserver=function(){this.observer.disconnect(),this.observer=null,this.count=0,this.elementMap=new Map},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:t.NgZone}]},e}(),n=function(){function e(e,r){this.elementRef=e,this.ngxResizeObserverService=r,this.onResize=new t.EventEmitter,this.observing=!1}return e.prototype.ngAfterViewInit=function(){this.observe()},e.prototype.ngOnChanges=function(e){this.observing&&(e.resizeBoxModel||e.onResize)&&(this.unobserve(),this.observe())},e.prototype.ngOnDestroy=function(){this.unobserve()},e.prototype.observe=function(){var e=this;this.observing||(this.ngxResizeObserverService.observe(this.elementRef.nativeElement,function(t){return e.onResize.emit(t)},this.resizeBoxModel),this.observing=!0)},e.prototype.unobserve=function(){this.observing&&(this.ngxResizeObserverService.unobserve(this.elementRef.nativeElement),this.observing=!1)},e.decorators=[{type:t.Directive,args:[{selector:"[onResize]"}]}],e.ctorParameters=function(){return[{type:t.ElementRef},{type:r}]},e.propDecorators={resizeBoxModel:[{type:t.Input}],onResize:[{type:t.Output}]},e}(),o=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{declarations:[n],exports:[n],providers:[r]}]}],e}();e.NgxResizeObserverDirective=n,e.NgxResizeObserverModule=o,e.NgxResizeObserverService=r,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=ngx-resize-observer.umd.min.js.map

@@ -41,10 +41,10 @@ /**

*/
export function ResizeObserver() { }
export function ResizeObserverInterface() { }
if (false) {
/** @type {?} */
ResizeObserver.prototype.observe;
ResizeObserverInterface.prototype.observe;
/** @type {?} */
ResizeObserver.prototype.unobserve;
ResizeObserverInterface.prototype.unobserve;
/** @type {?} */
ResizeObserver.prototype.disconnect;
ResizeObserverInterface.prototype.disconnect;
/* Skipping unhandled member: new (callback: ResizeObserverCallback);*/

@@ -164,2 +164,2 @@ }

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXJlc2l6ZS1vYnNlcnZlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LXJlc2l6ZS1vYnNlcnZlci8iLCJzb3VyY2VzIjpbImxpYi9uZ3gtcmVzaXplLW9ic2VydmVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFhLE1BQU0sZUFBZSxDQUFDOzs7O0FBSTlELDJDQUdDOzs7SUFGRywwQ0FBa0I7O0lBQ2xCLDJDQUFtQjs7Ozs7QUFHdkIseUNBY0M7OztJQWJHLDRDQUFzQzs7SUFDdEMsNkNBQXVDOztJQUN2QywwQ0FTRTs7SUFDRixxQ0FBZ0I7Ozs7O0FBS3BCLDBDQUVDOzs7SUFERyxtQ0FBbUM7Ozs7O0FBR3ZDLG9DQUtDOzs7SUFIRyxpQ0FBa0U7O0lBQ2xFLG1DQUFxQzs7SUFDckMsb0NBQXVCOzs7QUFNM0IsTUFBTSxPQUFPLHdCQUF3Qjs7OztJQUtqQyxZQUE2QixNQUFjO1FBQWQsV0FBTSxHQUFOLE1BQU0sQ0FBUTtRQUpuQyxVQUFLLEdBQUcsQ0FBQyxDQUFDO1FBQ1YsZUFBVSxHQUFHLElBQUksR0FBRyxFQUEwQyxDQUFDO1FBQy9ELGFBQVEsR0FBbUIsSUFBSSxDQUFDO0lBRU0sQ0FBQzs7OztJQUUvQyxXQUFXO1FBQ1AsSUFBSSxJQUFJLENBQUMsUUFBUSxFQUFFO1lBQ2YsSUFBSSxDQUFDLGFBQWEsRUFBRSxDQUFDO1NBQ3hCO0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ZSBvZiByZXNpemVzKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGNiID0gdGhpcy5lbGVtZW50TWFwLmdldChyZXNpemUudGFyZ2V0KTtcblxuICAgICAgICAgICAgICAgICAgICBpZiAoY2IpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMubmdab25lLnJ1bigoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2IocmVzaXplKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoYm94TW9kZWwgPT09ICdib3JkZXItYm94Jykge1xuICAgICAgICAgICAgdGhpcy5vYnNlcnZlci5vYnNlcnZlKGVsZW1lbnQsIHtcbiAgICAgICAgICAgICAgICBib3g6ICdib3JkZXItYm94J1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0aGlzLm9ic2VydmVyLm9ic2VydmUoZWxlbWVudCk7XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLmNvdW50ICs9IDE7XG4gICAgICAgIHRoaXMuZWxlbWVudE1hcC5zZXQoZWxlbWVudCwgY2FsbGJhY2spO1xuICAgIH1cblxuICAgIHVub2JzZXJ2ZShlbGVtZW50OiBFbGVtZW50KSB7XG4gICAgICAgIGNvbnN0IGNiID0gdGhpcy5lbGVtZW50TWFwLmdldChlbGVtZW50KTtcblxuICAgICAgICBpZiAoY2IpIHtcbiAgICAgICAgICAgIHRoaXMub2JzZXJ2ZXIudW5vYnNlcnZlKGVsZW1lbnQpO1xuICAgICAgICAgICAgdGhpcy5lbGVtZW50TWFwLmRlbGV0ZShlbGVtZW50KTtcbiAgICAgICAgICAgIHRoaXMuY291bnQgLT0gMTtcblxuICAgICAgICAgICAgaWYgKHRoaXMuY291bnQgPT09IDApIHtcbiAgICAgICAg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Y2FsbGJhY2s6IFJlc2l6ZU9ic2VydmVyU2VydmljZUNhbGxiYWNrLFxuICAgICAgICBib3hNb2RlbDogc3RyaW5nXG4gICAgKSB7XG4gICAgICAgIGlmICghdGhpcy5vYnNlcnZlcikge1xuICAgICAgICAgICAgdGhpcy5vYnNlcnZlciA9IG5ldyBSZXNpemVPYnNlcnZlcihyZXNpemVzID0+IHtcbiAgICAgICAgICAgICAgICBmb3IgKGNvbnN0IHJlc2l6ZSBvZiByZXNpemVzKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGNiID0gdGhpcy5lbGVtZW50TWFwLmdldChyZXNpemUudGFyZ2V0KTtcblxuICAgICAgICAgICAgICAgICAgICBpZiAoY2IpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMubmdab25lLnJ1bigoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2IocmVzaXplKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoYm94TW9kZWwgPT09ICdib3JkZXItYm94Jykge1xuICAgICAgICAgICAgdGhpcy5vYnNlcnZlci5vYnNlcnZlKGVsZW1lbnQsIHtcbiAgICAgICAgICAgICAgICBib3g6ICdib3JkZXItYm94J1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0aGlzLm9ic2VydmVyLm9ic2VydmUoZWxlbWVudCk7XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLmNvdW50ICs9IDE7XG4gICAgICAgIHRoaXMuZWxlbWVudE1hcC5zZXQoZWxlbWVudCwgY2FsbGJhY2spO1xuICAgIH1cblxuICAgIHVub2JzZXJ2ZShlbGVtZW50OiBFbGVtZW50KSB7XG4gICAgICAgIGNvbnN0IGNiID0gdGhpcy5lbGVtZW50TWFwLmdldChlbGVtZW50KTtcblxuICAgICAgICBpZiAoY2IpIHtcbiAgICAgICAgICAgIHRoaXMub2JzZXJ2ZXIudW5vYnNlcnZlKGVsZW1lbnQpO1xuICAgICAgICAgICAgdGhpcy5lbGVtZW50TWFwLmRlbGV0ZShlbGVtZW50KTtcbiAgICAgICAgICAgIHRoaXMuY291bnQgLT0gMTtcblxuICAgICAgICAgICAgaWYgKHRoaXMuY291bnQgPT09IDApIHtcbiAgICAgICAgICAgICAgICB0aGlzLmNsZWFyT2JzZXJ2ZXIoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIHByaXZhdGUgY2xlYXJPYnNlcnZlcigpIHtcbiAgICAgICAgdGhpcy5vYnNlcnZlci5kaXNjb25uZWN0KCk7XG4gICAgICAgIHRoaXMub2JzZXJ2ZXIgPSBudWxsO1xuICAgICAgICB0aGlzLmNvdW50ID0gMDtcbiAgICAgICAgdGhpcy5lbGVtZW50TWFwID0gbmV3IE1hcDxFbGVtZW50LCBSZXNpemVPYnNlcnZlclNlcnZpY2VDYWxsYmFjaz4oKTtcbiAgICB9XG59XG4iXX0=

@@ -42,10 +42,10 @@ /**

*/
export function ResizeObserver() { }
export function ResizeObserverInterface() { }
if (false) {
/** @type {?} */
ResizeObserver.prototype.observe;
ResizeObserverInterface.prototype.observe;
/** @type {?} */
ResizeObserver.prototype.unobserve;
ResizeObserverInterface.prototype.unobserve;
/** @type {?} */
ResizeObserver.prototype.disconnect;
ResizeObserverInterface.prototype.disconnect;
/* Skipping unhandled member: new (callback: ResizeObserverCallback);*/

@@ -196,2 +196,2 @@ }

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXJlc2l6ZS1vYnNlcnZlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LXJlc2l6ZS1vYnNlcnZlci8iLCJzb3VyY2VzIjpbImxpYi9uZ3gtcmVzaXplLW9ic2VydmVyL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ICAgICAgICAgdGhpcy5uZ1pvbmUucnVuKCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjYihyZXNpemUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChib3hNb2RlbCA9PT0gJ2JvcmRlci1ib3gnKSB7XG4gICAgICAgICAgICB0aGlzLm9ic2VydmVyLm9ic2VydmUoZWxlbWVudCwge1xuICAgICAgICAgICAgICAgIGJveDogJ2JvcmRlci1ib3gnXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHRoaXMub2JzZXJ2ZXIub2JzZXJ2ZShlbGVtZW50KTtcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuY291bnQgKz0gMTtcbiAgICAgICAgdGhpcy5lbGVtZW50TWFwLnNldChlbGVtZW50LCBjYWxsYmFjayk7XG4gICAgfVxuXG4gICAgdW5vYnNlcnZlKGVsZW1lbnQ6IEVsZW1lbnQpIHtcbiAgICAgICAgY29uc3QgY2IgPSB0aGlzLmVsZW1lbnRNYXAuZ2V0KGVsZW1lbnQpO1xuXG4gICAgICAgIGlmIChjYikge1xuICAgICAgICAgICAgdGhpcy5vYnNlcnZlci51bm9ic2VydmUoZWxlbWVudCk7XG4gICAgICAgICAgICB0aGlzLmVsZW1lbnRNYXAuZGVsZXRlKGVsZW1lbnQpO1xuICAgICAgICAgICAgdGhpcy5jb3VudCAtPSAxO1xuXG4gICAgICAgICAgICBpZiAodGhpcy5jb3VudCA9PT0gMCkge1xuICAgICAgICAgICAgICAgIHRoaXMuY2xlYXJPYnNlcnZlcigpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBjbGVhck9ic2VydmVyKCkge1xuICAgICAgICB0aGlzLm9ic2Vydm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AgICBjYWxsYmFjazogUmVzaXplT2JzZXJ2ZXJTZXJ2aWNlQ2FsbGJhY2ssXG4gICAgICAgIGJveE1vZGVsOiBzdHJpbmdcbiAgICApIHtcbiAgICAgICAgaWYgKCF0aGlzLm9ic2VydmVyKSB7XG4gICAgICAgICAgICB0aGlzLm9ic2VydmVyID0gbmV3IFJlc2l6ZU9ic2VydmVyKHJlc2l6ZXMgPT4ge1xuICAgICAgICAgICAgICAgIGZvciAoY29uc3QgcmVzaXplIG9mIHJlc2l6ZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgY2IgPSB0aGlzLmVsZW1lbnRNYXAuZ2V0KHJlc2l6ZS50YXJnZXQpO1xuXG4gICAgICAgICAgICAgICAgICAgIGlmIChjYikge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5uZ1pvbmUucnVuKCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjYihyZXNpemUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChib3hNb2RlbCA9PT0gJ2JvcmRlci1ib3gnKSB7XG4gICAgICAgICAgICB0aGlzLm9ic2VydmVyLm9ic2VydmUoZWxlbWVudCwge1xuICAgICAgICAgICAgICAgIGJveDogJ2JvcmRlci1ib3gnXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHRoaXMub2JzZXJ2ZXIub2JzZXJ2ZShlbGVtZW50KTtcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuY291bnQgKz0gMTtcbiAgICAgICAgdGhpcy5lbGVtZW50TWFwLnNldChlbGVtZW50LCBjYWxsYmFjayk7XG4gICAgfVxuXG4gICAgdW5vYnNlcnZlKGVsZW1lbnQ6IEVsZW1lbnQpIHtcbiAgICAgICAgY29uc3QgY2IgPSB0aGlzLmVsZW1lbnRNYXAuZ2V0KGVsZW1lbnQpO1xuXG4gICAgICAgIGlmIChjYikge1xuICAgICAgICAgICAgdGhpcy5vYnNlcnZlci51bm9ic2VydmUoZWxlbWVudCk7XG4gICAgICAgICAgICB0aGlzLmVsZW1lbnRNYXAuZGVsZXRlKGVsZW1lbnQpO1xuICAgICAgICAgICAgdGhpcy5jb3VudCAtPSAxO1xuXG4gICAgICAgICAgICBpZiAodGhpcy5jb3VudCA9PT0gMCkge1xuICAgICAgICAgICAgICAgIHRoaXMuY2xlYXJPYnNlcnZlcigpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBjbGVhck9ic2VydmVyKCkge1xuICAgICAgICB0aGlzLm9ic2VydmVyLmRpc2Nvbm5lY3QoKTtcbiAgICAgICAgdGhpcy5vYnNlcnZlciA9IG51bGw7XG4gICAgICAgIHRoaXMuY291bnQgPSAwO1xuICAgICAgICB0aGlzLmVsZW1lbnRNYXAgPSBuZXcgTWFwPEVsZW1lbnQsIFJlc2l6ZU9ic2VydmVyU2VydmljZUNhbGxiYWNrPigpO1xuICAgIH1cbn1cbiJdfQ==

@@ -7,6 +7,2 @@ import { Injectable, NgZone, EventEmitter, Directive, ElementRef, Input, Output, NgModule } from '@angular/core';

*/
/**
* @record
*/
function ResizeObserver() { }
class NgxResizeObserverService {

@@ -13,0 +9,0 @@ /**

@@ -8,6 +8,2 @@ import { Injectable, NgZone, Directive, ElementRef, Input, Output, EventEmitter, NgModule } from '@angular/core';

*/
/**
* @record
*/
function ResizeObserver() { }
var NgxResizeObserverService = /** @class */ (function () {

@@ -14,0 +10,0 @@ function NgxResizeObserverService(ngZone) {

@@ -21,7 +21,7 @@ import { NgZone, OnDestroy } from '@angular/core';

}
export declare type ResizeObserverCallback = (resizes: ResizeObserverEntry[], observer: ResizeObserver) => void;
export declare type ResizeObserverCallback = (resizes: ResizeObserverEntry[], observer: ResizeObserverInterface) => void;
export interface ResizeObserverConfig {
box?: 'content-box' | 'border-box';
}
export interface ResizeObserver {
export interface ResizeObserverInterface {
new (callback: ResizeObserverCallback): any;

@@ -28,0 +28,0 @@ observe: (target: Element, config?: ResizeObserverConfig) => void;

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"NgxResizeObserverDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":19,"character":1},"arguments":[{"selector":"[onResize]"}]}],"members":{"resizeBoxModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":5}}]}],"onResize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":25,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":29,"character":37},{"__symbolic":"reference","name":"NgxResizeObserverService"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"observe":[{"__symbolic":"method"}],"unobserve":[{"__symbolic":"method"}]}},"NgxResizeObserverModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"NgxResizeObserverDirective"}],"exports":[{"__symbolic":"reference","name":"NgxResizeObserverDirective"}],"providers":[{"__symbolic":"reference","name":"NgxResizeObserverService"}]}]}],"members":{}},"ResizeObserverBoxSize":{"__symbolic":"interface"},"ResizeObserverEntry":{"__symbolic":"interface"},"ResizeObserverCallback":{"__symbolic":"interface"},"ResizeObserverConfig":{"__symbolic":"interface"},"ResizeObserver":{"__symbolic":"interface"},"ResizeObserverServiceCallback":{"__symbolic":"interface"},"NgxResizeObserverService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":40,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":46,"character":41}]}],"ngOnDestroy":[{"__symbolic":"method"}],"observe":[{"__symbolic":"method"}],"unobserve":[{"__symbolic":"method"}],"clearObserver":[{"__symbolic":"method"}]}}},"origins":{"NgxResizeObserverDirective":"./lib/ngx-resize-observer.directive","NgxResizeObserverModule":"./lib/ngx-resize-observer.module","ResizeObserverBoxSize":"./lib/ngx-resize-observer.service","ResizeObserverEntry":"./lib/ngx-resize-observer.service","ResizeObserverCallback":"./lib/ngx-resize-observer.service","ResizeObserverConfig":"./lib/ngx-resize-observer.service","ResizeObserver":"./lib/ngx-resize-observer.service","ResizeObserverServiceCallback":"./lib/ngx-resize-observer.service","NgxResizeObserverService":"./lib/ngx-resize-observer.service"},"importAs":"ngx-resize-observer"}
{"__symbolic":"module","version":4,"metadata":{"NgxResizeObserverDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":19,"character":1},"arguments":[{"selector":"[onResize]"}]}],"members":{"resizeBoxModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":5}}]}],"onResize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":25,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":29,"character":37},{"__symbolic":"reference","name":"NgxResizeObserverService"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"observe":[{"__symbolic":"method"}],"unobserve":[{"__symbolic":"method"}]}},"NgxResizeObserverModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"NgxResizeObserverDirective"}],"exports":[{"__symbolic":"reference","name":"NgxResizeObserverDirective"}],"providers":[{"__symbolic":"reference","name":"NgxResizeObserverService"}]}]}],"members":{}},"ResizeObserverBoxSize":{"__symbolic":"interface"},"ResizeObserverEntry":{"__symbolic":"interface"},"ResizeObserverCallback":{"__symbolic":"interface"},"ResizeObserverConfig":{"__symbolic":"interface"},"ResizeObserverInterface":{"__symbolic":"interface"},"ResizeObserverServiceCallback":{"__symbolic":"interface"},"NgxResizeObserverService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":40,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":46,"character":41}]}],"ngOnDestroy":[{"__symbolic":"method"}],"observe":[{"__symbolic":"method"}],"unobserve":[{"__symbolic":"method"}],"clearObserver":[{"__symbolic":"method"}]}}},"origins":{"NgxResizeObserverDirective":"./lib/ngx-resize-observer.directive","NgxResizeObserverModule":"./lib/ngx-resize-observer.module","ResizeObserverBoxSize":"./lib/ngx-resize-observer.service","ResizeObserverEntry":"./lib/ngx-resize-observer.service","ResizeObserverCallback":"./lib/ngx-resize-observer.service","ResizeObserverConfig":"./lib/ngx-resize-observer.service","ResizeObserverInterface":"./lib/ngx-resize-observer.service","ResizeObserverServiceCallback":"./lib/ngx-resize-observer.service","NgxResizeObserverService":"./lib/ngx-resize-observer.service"},"importAs":"ngx-resize-observer"}
{
"name": "ngx-resize-observer",
"version": "1.0.0",
"version": "1.0.1",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^8.1.2",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc