| Package | com.distriqt.extension.nativewebview.events |
| Class | public class BrowserViewEvent |
| Inheritance | BrowserViewEvent flash.events.Event |
| 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:StringWhether 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():EventReturnsEvent |
| CLOSED | Constant |
public static const CLOSED:String = browserView:closedDispatched when the browser view is closed and removed from the view
| ERROR | Constant |
public static const ERROR:String = browserView:errorDispatched if there was an error loading the specified URL
| LOADED | Constant |
public static const LOADED:String = browserView:loadedDispatched when the browser view has loaded the URL
| OPENED | Constant |
public static const OPENED:String = browserView:openedDispatched when the browser view is opened and visisble to the user
| READY | Constant |
public static const READY:String = browserView:readyDispatched when the browser view is setup and ready to use