mirror of
https://github.com/zhigang1992/HybridWebView.git
synced 2026-01-13 09:10:28 +08:00
22 lines
598 B
HTML
22 lines
598 B
HTML
<html>
|
|
<head>
|
|
<script type="text/javascript">
|
|
|
|
ViewController.passArrayFromJS(["22","2","3"]);
|
|
ViewController.passObjFromJS({"name":"obj1","type":"object"});
|
|
ViewController.passStringFromJS("string value");
|
|
<!-- ViewController.callString();-->
|
|
<!-- ViewController.callArray();-->
|
|
<!-- ViewController.callObject();-->
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<br>
|
|
|
|
<h1>Hybrid Bridge!</h1>
|
|
<p>Support string, array, dictionary and callback</p>
|
|
</body>
|
|
|
|
</html> |