Skip to content

Commit dc42863

Browse files
committed
v7.0.15
1 parent 052768f commit dc42863

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export namespace Gleap {
5252
userHash?: string
5353
): void;
5454
function open(): void;
55+
function close(): void;
5556
function hide(): void;
5657
function startFeedbackFlow(feedbackFlow: string, showBackButton?: boolean): void;
5758
function on(event: string, callback: (data?: any) => void): void;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gleap",
3-
"version": "7.0.14",
3+
"version": "7.0.15",
44
"main": "build/index.js",
55
"scripts": {
66
"start": "webpack serve",

published/latest/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Gleap.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,13 @@ class Gleap {
160160
GleapFrameManager.getInstance().hideWidget();
161161
}
162162

163+
/**
164+
* Closes any open Gleap dialogs.
165+
*/
166+
static close() {
167+
GleapFrameManager.getInstance().hideWidget();
168+
}
169+
163170
/**
164171
* Starts the Gleap flow.
165172
*/

0 commit comments

Comments
 (0)