Skip to content

Commit

Permalink
Add reload()
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Kuhr Jørgensen authored Oct 18, 2018
1 parent 3c4d9f1 commit 83fc3d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ export default class MyWebView extends Component {
this.webview.stopLoading();
}

reload() {
this.webview.reload();
}

render () {
const _w = this.props.width || Dimensions.get('window').width;
const _h = this.props.autoHeight ? this.state.webViewHeight : this.props.defaultHeight;
Expand Down

0 comments on commit 83fc3d8

Please sign in to comment.