Package | com.distriqt.extension.nativewebview.events |
Class | public class BrowserViewEvent |
Inheritance | BrowserViewEvent ![]() |
Property | Defined By | ||
---|---|---|---|
cause : String
Whether this event was the result of user interaction with the browser view
or an api call. | BrowserViewEvent |
Method | Defined By | ||
---|---|---|---|
BrowserViewEvent(type:String, cause:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
| BrowserViewEvent | ||
clone():Event [override] | BrowserViewEvent |
Constant | Defined By | ||
---|---|---|---|
CLOSED : String = browserView:closed [static]
Dispatched when the browser view is closed and removed from the view
| BrowserViewEvent | ||
ERROR : String = browserView:error [static]
Dispatched if there was an error loading the specified URL
| BrowserViewEvent | ||
LOADED : String = browserView:loaded [static]
Dispatched when the browser view has loaded the URL
| BrowserViewEvent | ||
OPENED : String = browserView:opened [static]
Dispatched when the browser view is opened and visisble to the user
| BrowserViewEvent | ||
READY : String = browserView:ready [static]
Dispatched when the browser view is setup and ready to use
| BrowserViewEvent |
cause | property |
public var cause:String
Whether this event was the result of user interaction with the browser view or an api call. It will be empty if not applicable to this event.
BrowserViewEvent | () | Constructor |
public function BrowserViewEvent(type:String, cause:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
Parameterstype:String | |
cause:String | |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
|
clone | () | method |
override public function clone():Event
ReturnsEvent |
CLOSED | Constant |
public static const CLOSED:String = browserView:closed
Dispatched when the browser view is closed and removed from the view
ERROR | Constant |
public static const ERROR:String = browserView:error
Dispatched if there was an error loading the specified URL
LOADED | Constant |
public static const LOADED:String = browserView:loaded
Dispatched when the browser view has loaded the URL
OPENED | Constant |
public static const OPENED:String = browserView:opened
Dispatched when the browser view is opened and visisble to the user
READY | Constant |
public static const READY:String = browserView:ready
Dispatched when the browser view is setup and ready to use