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

Method change

src/icon_button_toggle.rs:71–78  ·  view source on GitHub ↗
(&mut self, props: Self::Properties)

Source from the content-addressed store, hash-verified

69 }
70
71 fn change(&mut self, props: Self::Properties) -> bool {
72 if self.props != props {
73 self.props = props;
74 true
75 } else {
76 false
77 }
78 }
79
80 fn view(&self) -> Html {
81 // on?=to_option(self.props.on)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected