Class Widget#
Defined in File Widget.h
Inheritance Relationships#
Derived Types#
public Karana::WebUI::IFrame(Class IFrame)public Karana::WebUI::Markdown(Class Markdown)public Karana::WebUI::TreeView(Class TreeView)
Class Documentation#
-
class Widget#
Base class for Router Channels with a DOM presence.
Subclassed by Karana::WebUI::IFrame, Karana::WebUI::Markdown, Karana::WebUI::TreeView
Public Functions
-
const Karana::Core::ks_ptr<Channel> &channel() const#
Get a handle to the widget’s channel.
- Returns:
The channel
-
std::string_view domId() const#
Get the id of the widget’s containing div in the DOM.
- Returns:
The id
-
const Karana::Core::ks_ptr<Channel> &channel() const#