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

Method create

src/checkbox.rs:48–55  ·  view source on GitHub ↗
(props: Self::Properties, _link: ComponentLink<Self>)

Source from the content-addressed store, hash-verified

46 type Properties = CheckboxProps;
47
48 fn create(props: Self::Properties, _link: ComponentLink<Self>) -> Self {
49 // Checkbox::ensure_loaded();
50 Self {
51 props,
52 node_ref: NodeRef::default(),
53 change_listener: None,
54 }
55 }
56
57 fn update(&mut self, _msg: Self::Message) -> ShouldRender {
58 false

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected