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

Method set_anchor

src/menu.rs:372–378  ·  view source on GitHub ↗

Setter method for `anchor`.

(&self, anchor: web_sys::HtmlElement)

Source from the content-addressed store, hash-verified

370
371 /// Setter method for `anchor`.
372 pub fn set_anchor(&self, anchor: web_sys::HtmlElement) {
373 // (*self.borrow().as_ref().unwrap().get_component().unwrap())
374 // .node_ref
375 // .cast::<Menu>()
376 // .unwrap()
377 // .set_anchor(&anchor);
378 }
379}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected