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

Method change

src/radio.rs:65–72  ·  view source on GitHub ↗
(&mut self, props: Self::Properties)

Source from the content-addressed store, hash-verified

63 }
64
65 fn change(&mut self, props: Self::Properties) -> bool {
66 if self.props != props {
67 self.props = props;
68 true
69 } else {
70 false
71 }
72 }
73
74 fn view(&self) -> Html {
75 // disabled=self.props.disabled

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected