MCPcopy Create free account
hub / github.com/angular-rust/yew-components / create

Method create

src/icon_button_toggle.rs:58–65  ·  view source on GitHub ↗
(props: Self::Properties, _: ComponentLink<Self>)

Source from the content-addressed store, hash-verified

56 type Properties = IconButtonToggleProps;
57
58 fn create(props: Self::Properties, _: ComponentLink<Self>) -> Self {
59 // IconButtonToggle::ensure_loaded();
60 Self {
61 props,
62 node_ref: NodeRef::default(),
63 change_listener: None,
64 }
65 }
66
67 fn update(&mut self, _msg: Self::Message) -> ShouldRender {
68 false

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected