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

Method create

src/list.rs:88–97  ·  view source on GitHub ↗
(props: Self::Properties, link: ComponentLink<Self>)

Source from the content-addressed store, hash-verified

86 type Properties = ListProps;
87
88 fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self {
89 // props.list_link.borrow_mut().replace(link);
90 // List::ensure_loaded();
91 Self {
92 props,
93 node_ref: NodeRef::default(),
94 action_listener: None,
95 selected_listener: None,
96 }
97 }
98
99 fn update(&mut self, _msg: Self::Message) -> ShouldRender {
100 false

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected