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

Method close

src/menu.rs:363–369  ·  view source on GitHub ↗

Binds to `close` method. See [here](https://github.com/material-components/material-components-web-components/tree/master/packages/menu#methods) for details

(&self)

Source from the content-addressed store, hash-verified

361 ///
362 /// See [here](https://github.com/material-components/material-components-web-components/tree/master/packages/menu#methods) for details
363 pub fn close(&self) {
364 // (*self.borrow().as_ref().unwrap().get_component().unwrap())
365 // .node_ref
366 // .cast::<Menu>()
367 // .unwrap()
368 // .close();
369 }
370
371 /// Setter method for `anchor`.
372 pub fn set_anchor(&self, anchor: web_sys::HtmlElement) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected