MCPcopy Create free account
hub / github.com/AshampooSystems/boden / WebView

Method WebView

framework/ui/src/WebView.cpp:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 }
11
12 WebView::WebView(std::shared_ptr<ViewCoreFactory> viewCoreFactory) : View(std::move(viewCoreFactory))
13 {
14 detail::VIEW_CORE_REGISTER(WebView, View::viewCoreFactory());
15
16 registerCoreCreatingProperties(this, &url);
17 url.onChange() += [this](auto) { loadURL(url); };
18 }
19
20 void WebView::loadURL(const std::string &url)
21 {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected