diff options
Diffstat (limited to 'meta/3rd/Cocos4.0/library/ccui/WebView.lua')
m--------- | meta/3rd/Cocos4.0 | 0 | ||||
-rw-r--r-- | meta/3rd/Cocos4.0/library/ccui/WebView.lua | 93 |
2 files changed, 0 insertions, 93 deletions
diff --git a/meta/3rd/Cocos4.0 b/meta/3rd/Cocos4.0 new file mode 160000 +Subproject c0b2259e0d367561fd4563ae114b029b4dfe3a8 diff --git a/meta/3rd/Cocos4.0/library/ccui/WebView.lua b/meta/3rd/Cocos4.0/library/ccui/WebView.lua deleted file mode 100644 index b89cfbd1..00000000 --- a/meta/3rd/Cocos4.0/library/ccui/WebView.lua +++ /dev/null @@ -1,93 +0,0 @@ ----@meta - ----@class ccui.WebView :ccui.Widget -local WebView={ } -ccui.WebView=WebView - - - - ----* SetOpacity of webview. ----@param opacity float ----@return self -function WebView:setOpacityWebView (opacity) end ----* Gets whether this WebView has a back history item.<br> ----* return WebView has a back history item. ----@return boolean -function WebView:canGoBack () end ----* Sets the main page content and base URL.<br> ----* param string The content for the main page.<br> ----* param baseURL The base URL for the content. ----@param string string ----@param baseURL string ----@return self -function WebView:loadHTMLString (string,baseURL) end ----* Goes forward in the history. ----@return self -function WebView:goForward () end ----* Goes back in the history. ----@return self -function WebView:goBack () end ----* Set WebView should support zooming. The default value is false. ----@param scalesPageToFit boolean ----@return self -function WebView:setScalesPageToFit (scalesPageToFit) end ----* Loads the given fileName.<br> ----* param fileName Content fileName. ----@param fileName string ----@return self -function WebView:loadFile (fileName) end ----@overload fun(string:string,boolean:boolean):self ----@overload fun(string:string):self ----@param url string ----@param cleanCachedData boolean ----@return self -function WebView:loadURL (url,cleanCachedData) end ----* Set whether the webview bounces at end of scroll of WebView. ----@param bounce boolean ----@return self -function WebView:setBounces (bounce) end ----* Evaluates JavaScript in the context of the currently displayed page. ----@param js string ----@return self -function WebView:evaluateJS (js) end ----* set the background transparent ----@return self -function WebView:setBackgroundTransparent () end ----* Get the Javascript callback. ----@return function -function WebView:getOnJSCallback () end ----* Gets whether this WebView has a forward history item.<br> ----* return WebView has a forward history item. ----@return boolean -function WebView:canGoForward () end ----* Stops the current load. ----@return self -function WebView:stopLoading () end ----* getOpacity of webview. ----@return float -function WebView:getOpacityWebView () end ----* Reloads the current URL. ----@return self -function WebView:reload () end ----* Set javascript interface scheme.<br> ----* see WebView::setOnJSCallback() ----@param scheme string ----@return self -function WebView:setJavascriptInterfaceScheme (scheme) end ----* Allocates and initializes a WebView. ----@return self -function WebView:create () end ----* ----@return self -function WebView:onEnter () end ----* Toggle visibility of WebView. ----@param visible boolean ----@return self -function WebView:setVisible (visible) end ----* ----@return self -function WebView:onExit () end ----* Default constructor. ----@return self -function WebView:WebView () end
\ No newline at end of file |