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

Method change

src/checkbox.rs:61–68  ·  view source on GitHub ↗
(&mut self, props: Self::Properties)

Source from the content-addressed store, hash-verified

59 }
60
61 fn change(&mut self, props: Self::Properties) -> ShouldRender {
62 if self.props != props {
63 self.props = props;
64 true
65 } else {
66 false
67 }
68 }
69
70 // indeterminate?=to_option(self.props.indeterminate)
71 // disabled=self.props.disabled

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected