wip: bottom up dropping
This commit is contained in:
1 parent
687cda1b6d
commit
f2334c17be
21 files changed
+682
-679
No files matched your search
+10
-1
@@ -1,9 +1,13 @@
|
||||
pub struct WebConfig {
|
||||
pub(crate) hydrate: bool,
|
||||
pub(crate) rootname: String,
|
||||
}
|
||||
impl Default for WebConfig {
|
||||
fn default() -> Self {
|
||||
Self { hydrate: false }
|
||||
Self {
|
||||
hydrate: false,
|
||||
rootname: "dioxusroot".to_string(),
|
||||
}
|
||||
}
|
||||
}
|
||||
impl WebConfig {
|
||||
@@ -18,4 +22,9 @@ impl WebConfig {
|
||||
self.hydrate = f;
|
||||
self
|
||||
}
|
||||
|
||||
pub fn rootname(mut self, name: impl Into<String>) -> Self {
|
||||
self.rootname = name.into();
|
||||
self
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user