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

Method create

src/dialog.rs:94–105  ·  view source on GitHub ↗
(props: Self::Properties, link: ComponentLink<Self>)

Source from the content-addressed store, hash-verified

92 type Properties = DialogProps;
93
94 fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self {
95 // props.dialog_link.borrow_mut().replace(link);
96 // Dialog::ensure_loaded();
97 Self {
98 props,
99 node_ref: NodeRef::default(),
100 opening_listener: None,
101 opened_listener: None,
102 closing_listener: None,
103 closed_listener: None,
104 }
105 }
106
107 fn update(&mut self, _msg: Self::Message) -> ShouldRender {
108 false

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected