WebAPI/BrowserAPI/Common Subset: Difference between revisions
< WebAPI | BrowserAPI
Jump to navigation
Jump to search
(Add Event Dispatch methods) |
|||
| Line 73: | Line 73: | ||
|} | |} | ||
=== Miscellaneous methods === | === Miscellaneous methods === | ||
{| class="wikitable" width="100%" | |||
|- | |||
! API !! Mozilla !! Google !! Microsoft | |||
|- | |||
! Screenshot | |||
| getScreenshot() | |||
| FIXME | |||
| FIXME | |||
|- | |||
! Zooming | |||
| zoom() | |||
| FIXME | |||
| FIXME | |||
|} | |||
=== Attributes === | === Attributes === | ||
=== Events === | === Events === | ||
Revision as of 10:25, 13 January 2015
This wiki page aims to document the difference and common subset of <webview> API provided by various vendors.
API categories
| API | Mozilla | Microsoft | |
|---|---|---|---|
| Reload | reload() | FIXME | FIXME |
| Stop | stop() | FIXME | FIXME |
| Go back | goBack() | FIXME | FIXME |
| Go forward | goForward() | FIXME | FIXME |
| Can go back? | getCanGoBack() | FIXME | FIXME |
| Can go forward? | getCanGoForward() | FIXME | FIXME |
Resource Management methods
| API | Mozilla | Microsoft | |
|---|---|---|---|
| Change visibility state | setVisible() | FIXME | FIXME |
| Get visibility state | getVisible() | FIXME | FIXME |
| Clear all resources | purgeHistory() | FIXME | FIXME |
Event Dispatch methods
| API | Mozilla | Microsoft | |
|---|---|---|---|
| Mouse Event | sendMouseEvent() | FIXME | FIXME |
| Touch Event | sendTouchEvent() | FIXME | FIXME |
Miscellaneous methods
| API | Mozilla | Microsoft | |
|---|---|---|---|
| Screenshot | getScreenshot() | FIXME | FIXME |
| Zooming | zoom() | FIXME | FIXME |
Attributes
Events
Links
Mozilla Browser Element
- API doc
- https://developer.mozilla.org/en-US/docs/Web/API/Using_the_Browser_API
- WebIDL
- http://mxr.mozilla.org/mozilla-central/source/dom/webidl/BrowserElement.webidl