diff --git a/package.json b/package.json index fc5e64f..e46d1ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ngx-popper", - "version": "1.0.0", + "version": "1.0.1", "description": "ngx-popper is an angular wrapper for popper.js", "main": "src/index.js", "module": "esm/index.js", diff --git a/src/popper-content.ts b/src/popper-content.ts index 9440f95..c915cb3 100644 --- a/src/popper-content.ts +++ b/src/popper-content.ts @@ -152,11 +152,11 @@ export class PopperContent implements OnDestroy { text: string; - private popperInstance: Popper; + popperInstance: Popper; - private displayType: string = "none"; + displayType: string = "none"; - private opacity: number = 0; + opacity: number = 0; @ViewChild("popperViewRef") popperViewRef: ElementRef; diff --git a/src/popper.module.ts b/src/popper.module.ts index afff38e..ad5e937 100644 --- a/src/popper.module.ts +++ b/src/popper.module.ts @@ -1,4 +1,3 @@ -import {BrowserModule} from '@angular/platform-browser'; import {CommonModule} from "@angular/common"; import {NgModule} from "@angular/core"; import {PopperController} from './popper'; @@ -6,7 +5,6 @@ import {PopperContent} from './popper-content'; @NgModule({ imports: [ - BrowserModule, CommonModule ], declarations: [