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

Method close

src/snackbar.rs:191–198  ·  view source on GitHub ↗
(&self, reason: &str)

Source from the content-addressed store, hash-verified

189 }
190
191 pub fn close(&self, reason: &str) {
192 // (*self.borrow().as_ref().unwrap().get_component().unwrap())
193 // .node_ref
194 // .cast::<Snackbar>()
195 // .unwrap()
196 // .close(&JsValue::from_str(reason))
197 unimplemented!()
198 }
199}
200
201fn event_into_details_reason(event: &Event) -> Option<String> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected