AthenaClient.webview.page.Page ​
client/webview/page.Page
Constructors ​
constructor ​
• new Page(page
)
Creates a WebView Page Controller
Parameters ​
Name | Type |
---|---|
page | IPage |
Defined in ​
Properties ​
info ​
• Private
info: IPage
Defined in ​
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 ​
Name | Type | Default value |
---|---|---|
isManuallyTriggered? | boolean | false |
Returns ​
void
Defined in ​
open ​
Usage
AthenaClient.webview.page.Page.open(): Promise
<boolean
>
Open this WebView Page
Returns ​
Promise
<boolean
>