shripalsoni04 / nativescript-webview-interface

Plugin for bi-directional communication between webView and android/ios
MIT License
89 stars 35 forks source link

Implement WebViewInterface.prototype.off to unbind events #3

Closed m-abs closed 8 years ago

m-abs commented 8 years ago

I'm using a ready-event from the WebView to know when the page is fully loaded.

I'd like to remove this event once it's been called, so I've added an .off-function to unbind it.

shripalsoni04 commented 8 years ago

Thanks for the PR.👍

Functionality to de-register event handler available now in version 1.3.0.