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

Method create

src/list/list_item.rs:59–66  ·  view source on GitHub ↗
(props: Self::Properties, _: ComponentLink<Self>)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected