createBrowserWithHtml
fun createBrowserWithHtml(html: String, url: String = KCEFBrowser.BLANK_URI, rendering: CefRendering = CefRendering.DEFAULT, isTransparent: Boolean = false): KCEFBrowser(source)
Create a KCEFBrowser instance
Return
Parameters
html
content to load
url
the base url for html
rendering
CefRendering option that specifies the CEF rendering
isTransparent
whether the browser is transparent
fun createBrowserWithHtml(html: String, url: String = KCEFBrowser.BLANK_URI, rendering: CefRendering = CefRendering.DEFAULT, isTransparent: Boolean = false, context: CefRequestContext): KCEFBrowser(source)
Create a KCEFBrowser instance
Return
Parameters
html
content to load
url
the base url for html
rendering
CefRendering option that specifies the CEF rendering
isTransparent
whether the browser is transparent
context
CefRequestContext handling the request