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

Method update

src/card.rs:74–81  ·  view source on GitHub ↗
(&mut self, msg: Self::Message)

Source from the content-addressed store, hash-verified

72 }
73
74 fn update(&mut self, msg: Self::Message) -> ShouldRender {
75 match msg {
76 Msg::Clicked => {
77 // self.onsignal.emit(());
78 }
79 }
80 false
81 }
82
83 fn change(&mut self, props: Self::Properties) -> ShouldRender {
84 self.label = props.label;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected