0.5 cn
A series of web operation api like goBack, goForward, and reload.
Loads the previous location in the history stack.
ref(string): the reference of the web component.
var webview = require('@weex-module/webview');
var webElement = this.$el('webview');
webview.goBack(webElement.ref);Loads the next location in the history stack.
ref(string): the reference of the web component.
var webview = require('@weex-module/webview');
var webElement = this.$el('webview');
webview.goForward(webElement.ref);Reloads the current web page.
ref(string): the reference of the web component.
var webview = require('@weex-module/webview');
var webElement = this.$el('webview');
webview.reload(webElement.ref);