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

Method classes

src/drawer.rs:197–203  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

195
196impl Drawer {
197 fn classes(&self) -> String {
198 if self.props.open {
199 "mdc-drawer mdc-drawer--modal mdc-drawer--open".into()
200 } else {
201 "mdc-drawer mdc-drawer--modal".into()
202 }
203 }
204
205
206 // Big Unusable Magic

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected