Skip to content

Commit b9f4db6

Browse files
Site changes [skip-ci]
1 parent 438080c commit b9f4db6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_data/extensions/extension-webview_webview.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
{
7373
"description": "Opens a web page in the webview, using an URL. Once the request is done, the callback (registered in `webview.create()`) is invoked.",
7474
"examples": "<div class=\"codehilite\"><pre><span></span><code><span class=\"kd\">local</span> <span class=\"n\">request_id</span> <span class=\"o\">=</span> <span class=\"n\">webview</span><span class=\"p\">.</span><span class=\"n\">open</span><span class=\"p\">(</span><span class=\"n\">webview_id</span><span class=\"p\">,</span> <span class=\"s2\">&quot;http://www.defold.com&quot;</span><span class=\"p\">,</span> <span class=\"p\">{</span><span class=\"n\">hidden</span> <span class=\"o\">=</span> <span class=\"kc\">true</span><span class=\"p\">})</span>\n</code></pre></div>",
75-
"name": "open",
75+
"name": "webview.open",
7676
"parameters": [
7777
{
7878
"doc": "The webview id",
@@ -97,7 +97,7 @@
9797
}
9898
],
9999
"returnvalues": [],
100-
"type": ""
100+
"type": "FUNCTION"
101101
},
102102
{
103103
"description": "Opens a web page in the webview, using HTML data. Once the request is done, the callback (registered in `webview.create()`) is invoked.",

0 commit comments

Comments
 (0)