fs-feedback-creator
Advanced tools
Comparing version 2.0.51 to 2.0.52
@@ -25,3 +25,3 @@ import { FeedbackResource } from "./resources/feedback.resource"; | ||
addButtonEventListener: Promise<unknown>; | ||
constructor(fb: FeedbackResource, parentElement: HTMLElement); | ||
constructor(fb: FeedbackResource, parentElement: HTMLElement, position: string); | ||
setFbData(data: FeedbackResource): void; | ||
@@ -28,0 +28,0 @@ renderButton(): void; |
@@ -8,3 +8,3 @@ import { angryIcon } from "./assets/icons"; | ||
export class FeedbackCreator { | ||
constructor(fb, parentElement) { | ||
constructor(fb, parentElement, position) { | ||
this.language_map = new Map(); | ||
@@ -30,3 +30,3 @@ this.style_map = new Map(); | ||
this.fb = fb; | ||
this.elementsPosition = "position: " + this.position + "!important;"; | ||
this.elementsPosition = "position: " + position + "!important;"; | ||
this.root.id = "fb-root" + this.fb.id.toString(); | ||
@@ -33,0 +33,0 @@ if (typeof parentElement === "undefined" || parentElement === null) { |
{ | ||
"name": "fs-feedback-creator", | ||
"version": "2.0.51", | ||
"version": "2.0.52", | ||
"description": "web-based module that's responsible to inject fullsession feedback modal", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
486231