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

Method change

src/drawer.rs:140–147  ·  view source on GitHub ↗
(&mut self, props: Self::Properties)

Source from the content-addressed store, hash-verified

138 }
139
140 fn change(&mut self, props: Self::Properties) -> bool {
141 if self.props != props {
142 self.props = props;
143 true
144 } else {
145 false
146 }
147 }
148
149 fn view(&self) -> Html {
150 // hasHeader?=self.props.has_header

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected