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

Method change

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

Source from the content-addressed store, hash-verified

76 }
77
78 fn change(&mut self, props: Self::Properties) -> ShouldRender {
79 if self.props != props {
80 self.props = props;
81 true
82 } else {
83 false
84 }
85 }
86
87 fn view(&self) -> Html {
88 html! {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected