Skip to content
On this page

AthenaClient.webview.page.Page

client/webview/page.Page

Constructors

constructor

new Page(page)

Creates a WebView Page Controller

Parameters

NameType
pageIPage

Defined in

client/webview/page.ts:182

Properties

info

Private info: IPage

Defined in

client/webview/page.ts:175

Methods

close

Usage

AthenaClient.webview.page.Page.close(isManuallyTriggered?): void

If isManuallyTriggered is set to true. This means that the close event is not coming from the 'Escape' key bind. Useful for when you want your own exit functionality for your WebView.

Parameters

NameTypeDefault value
isManuallyTriggered?booleanfalse

Returns

void

Defined in

client/webview/page.ts:290


open

Usage

AthenaClient.webview.page.Page.open(): Promise<boolean>

Open this WebView Page

Returns

Promise<boolean>

Defined in

client/webview/page.ts:216

Created by Stuyk | Est. 2020