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

Function body

src/drawer.rs:241–243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239}
240
241fn body() -> web_sys::HtmlElement {
242 document().body().expect("document should have a body")
243}
244
245impl WeakComponentLink<Drawer> {
246 /// A convenience method to for `drawer.open = !drawer.open`

Callers

nothing calls this directly

Calls 1

documentFunction · 0.85

Tested by

no test coverage detected