Skip to content

Commit

Permalink
fix(core): use more explicit result for Browser plugin events (#3349)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Jul 28, 2020
1 parent 05d0e45 commit 75f99d4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/core-plugin-definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,18 +269,20 @@ export interface BrowserPlugin extends Plugin {

addListener(
eventName: 'browserFinished',
listenerFunc: (info: any) => void,
listenerFunc: (info: BrowserInfo) => void,
): PluginListenerHandle;
addListener(
eventName: 'browserPageLoaded',
listenerFunc: (info: any) => void,
listenerFunc: (info: BrowserInfo) => void,
): PluginListenerHandle;
/**
* Remove all native listeners for this plugin
*/
removeAllListeners(): void;
}

export interface BrowserInfo {}

export interface BrowserOpenOptions {
/**
* The URL to open the browser to
Expand Down

0 comments on commit 75f99d4

Please sign in to comment.