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

Method change

src/snackbar.rs:102–109  ·  view source on GitHub ↗
(&mut self, props: Self::Properties)

Source from the content-addressed store, hash-verified

100 }
101
102 fn change(&mut self, props: Self::Properties) -> bool {
103 if self.props != props {
104 self.props = props;
105 true
106 } else {
107 false
108 }
109 }
110
111 fn view(&self) -> Html {
112 // timeoutMs=self.props.timeout_ms

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected