Native Controls & JS Bridge Functions
A reference guide for controlling native UI elements and triggering JavaScript functions through the WebtoNative bridge.
1. Trigger JavaScript Functions via URL Scheme
Syntax:-
w2n://jsFunction:YOUR_JS_CODE
Example:-
w2n://jsFunction:alert("Hello World");
This will execute the JavaScript alert("Hello World") inside the WebView.2. Hide Native Components
Available Components:
3. Show Native Components
Available Components:
Last updated