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

Method create

src/select.rs:100–112  ·  view source on GitHub ↗
(props: Self::Properties, link: ComponentLink<Self>)

Source from the content-addressed store, hash-verified

98 type Properties = Props;
99
100 fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self {
101 // props.select_link.borrow_mut().replace(link);
102 // Select::ensure_loaded();
103 Self {
104 props,
105 node_ref: NodeRef::default(),
106 // validity_transform_closure: None,
107 opened_listener: None,
108 closed_listener: None,
109 action_listener: None,
110 selected_listener: None,
111 }
112 }
113
114 fn update(&mut self, _msg: Self::Message) -> ShouldRender {
115 false

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected