ngx-popperjs
Advanced tools
Comparing version
@@ -88,1 +88,5 @@ #8.0.0 | ||
* Added exportAs in NgxPopperjsContentComponent to allow access value, such as id (fix [#21](https://github.com/tonysamperi/ngx-popperjs/issues/21) | ||
#13.2.0 | ||
* General refactor of dynamic component handling | ||
* Refactored events using rxjs instead of renderer: should lead to performance improvement |
@@ -7,2 +7,3 @@ import { ModuleWithProviders, Provider } from "@angular/core"; | ||
import * as i3 from "@angular/common"; | ||
import * as i4 from "@ngx-tonysamperi/dom"; | ||
export declare function provideNgxPopperjsOptions(config?: NgxPopperjsOptions): Provider[]; | ||
@@ -12,4 +13,4 @@ export declare class NgxPopperjsModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgxPopperjsModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxPopperjsModule, [typeof i1.NgxPopperjsContentComponent, typeof i2.NgxPopperjsDirective], [typeof i3.CommonModule], [typeof i1.NgxPopperjsContentComponent, typeof i2.NgxPopperjsDirective]>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxPopperjsModule, [typeof i1.NgxPopperjsContentComponent, typeof i2.NgxPopperjsDirective], [typeof i3.CommonModule, typeof i4.SmpDomModule], [typeof i1.NgxPopperjsContentComponent, typeof i2.NgxPopperjsDirective]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<NgxPopperjsModule>; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2, ViewContainerRef } from "@angular/core"; | ||
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from "@angular/core"; | ||
import { NgxPopperjsContentComponent } from "../ngx-popperjs-content/ngx-popper-content.component"; | ||
@@ -7,11 +7,11 @@ import { NgxPopperjsOptions } from "../models/ngx-popperjs-options.model"; | ||
import { Modifier } from "@popperjs/core"; | ||
import { SmpDomService } from "@ngx-tonysamperi/dom"; | ||
import * as i0 from "@angular/core"; | ||
export declare class NgxPopperjsDirective implements OnInit, OnDestroy { | ||
private _viewContainerRef; | ||
private _changeDetectorRef; | ||
private _resolver; | ||
private _elementRef; | ||
private _renderer; | ||
private _smpDomService; | ||
private _popperDefaults; | ||
static baseOptions: NgxPopperjsOptions; | ||
static nextId: number; | ||
set applyClass(newValue: string); | ||
@@ -53,5 +53,5 @@ get applyClass(): string; | ||
private _content; | ||
private _destroy$; | ||
private _disabled; | ||
private _eventListeners; | ||
private _globalEventListeners; | ||
private _globalEventListenersCtrl$; | ||
private _popperApplyArrowClass; | ||
@@ -63,7 +63,6 @@ private _popperContent; | ||
private _popperPreventOverflow; | ||
private _scheduledHideTimeout; | ||
private _scheduledShowTimeout; | ||
private _scheduledHideTimeoutCtrl$; | ||
private _scheduledShowTimeoutCtrl$; | ||
private _shown; | ||
private _subscriptions; | ||
constructor(_viewContainerRef: ViewContainerRef, _changeDetectorRef: ChangeDetectorRef, _resolver: ComponentFactoryResolver, _elementRef: ElementRef, _renderer: Renderer2, _popperDefaults?: NgxPopperjsOptions); | ||
constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef, _smpDomService: SmpDomService, _popperDefaults?: NgxPopperjsOptions); | ||
static assignDefined(target: any, ...sources: any[]): any; | ||
@@ -81,12 +80,8 @@ applyTriggerListeners(): void; | ||
toggle(): void; | ||
private _addListener; | ||
private _applyChanges; | ||
private _checkExisting; | ||
private _clearEventListeners; | ||
private _clearGlobalEventListeners; | ||
private _constructContent; | ||
private _getScrollParent; | ||
private _onPopperUpdate; | ||
private _overrideHideTimeout; | ||
private _overrideShowTimeout; | ||
private _pushListener; | ||
private _setContentProperties; | ||
@@ -93,0 +88,0 @@ private _setDefaults; |
{ | ||
"name": "ngx-popperjs", | ||
"version": "13.1.0", | ||
"version": "13.2.0", | ||
"license": "MIT", | ||
@@ -22,4 +22,4 @@ "description": "ngx-popperjs is an Angular wrapper for @popperjs", | ||
"popper Angular", | ||
"popper 2", | ||
"popperjs" | ||
"Angular 13", | ||
"popper.js" | ||
], | ||
@@ -26,0 +26,0 @@ "scripts": { |
@@ -15,3 +15,3 @@ # ngx-popperjs | ||
The goal of this library is to take Mr Frankel's [ngx-popper](https://github.com/MrFrankel/ngx-popper/) and update the compatibility up to Angular 10 (in first instance Angular 8). | ||
The goal of this library is to take Mr Frankel's [ngx-popper](https://github.com/MrFrankel/ngx-popper/) and update the compatibility up to Angular 13. | ||
Since his library is compatible with Angular 7 and downwards, this will start with Angular 8. | ||
@@ -18,0 +18,0 @@ If you need to work with an older version of Angular (5 to 7), please refer to Mr Frankel's [ngx-popper](https://github.com/MrFrankel/ngx-popper/). |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
320155
3.03%2549
-0.43%