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

Method create

src/tabs/tab.rs:55–62  ·  view source on GitHub ↗
(props: Self::Properties, _: ComponentLink<Self>)

Source from the content-addressed store, hash-verified

53 type Properties = TabProps;
54
55 fn create(props: Self::Properties, _: ComponentLink<Self>) -> Self {
56 // Tab::ensure_loaded();
57 Self {
58 props,
59 node_ref: NodeRef::default(),
60 interacted_listener: None,
61 }
62 }
63
64 fn update(&mut self, _msg: Self::Message) -> ShouldRender {
65 false

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected