new BrowserFrame(config, frameopt)
Define a basic mozbrowser iframe class.
Define a basic mozbrowser iframe class. It creates a mozbrowser iframe, and finally returns the DOM element it just created.
The BrowserFrame instance has a 'element' field, which is the mozbrowser iframe it generated or converted to.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
config |
Object | The configuration object generated by BrowserConfig. |
|
frame |
DOMIFRAMEElement |
<optional> |
The existing frame to be converted to mozbrowsr iframe. |
- Source: