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

Method change

src/top_app_bar.rs:76–83  ·  view source on GitHub ↗
(&mut self, props: Self::Properties)

Source from the content-addressed store, hash-verified

74 }
75
76 fn change(&mut self, props: Self::Properties) -> bool {
77 if self.props != props {
78 self.props = props;
79 true
80 } else {
81 false
82 }
83 }
84
85 fn view(&self) -> Html {
86 // centerTitle?=to_option(self.props.center_title)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected