MCPcopy Create free account
hub / github.com/angular-rust/ux-components / new

Method new

src/rendering/backend/native/sheet.rs:38–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36
37impl Sheet {
38 pub fn new() -> Self {
39 let props = SheetProps::default();
40
41 let component = Self {
42 props: RefCell::new(props),
43 inner: Widget::new(),
44 };
45
46 component.init();
47 component
48 }
49
50 pub fn with_label(text: &str) -> Self {
51 let mut props = SheetProps::default();

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected