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

Method create

src/button.rs:55–60  ·  view source on GitHub ↗
(props: Self::Properties, link: ComponentLink<Self>)

Source from the content-addressed store, hash-verified

53 type Properties = ButtonProps;
54
55 fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self {
56 Self {
57 link,
58 props,
59 }
60 }
61
62 fn update(&mut self, msg: Self::Message) -> ShouldRender {
63 match msg {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected