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

Method update

src/gaugechart.rs:69–76  ·  view source on GitHub ↗
(&mut self, msg: Self::Message)

Source from the content-addressed store, hash-verified

67 }
68
69 fn update(&mut self, msg: Self::Message) -> ShouldRender {
70 match msg {
71 Msg::Clicked => {
72 self.props.onclick.emit(());
73 }
74 }
75 false
76 }
77
78 fn change(&mut self, props: Self::Properties) -> ShouldRender {
79 if self.props != props {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected