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

Method update

src/icon_button.rs:46–53  ·  view source on GitHub ↗
(&mut self, msg: Self::Message)

Source from the content-addressed store, hash-verified

44 }
45
46 fn update(&mut self, msg: Self::Message) -> ShouldRender {
47 match msg {
48 Msg::Clicked => {
49 // self.onsignal.emit(());
50 }
51 }
52 false
53 }
54
55 fn change(&mut self, props: Self::Properties) -> ShouldRender {
56 self.label = props.label;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected