🧑💻 Simplify component class access functions
This commit is contained in:
parent
d69d4cda45
commit
9a5618ef4b
12 changed files with 82 additions and 94 deletions
|
|
@ -33,7 +33,8 @@ impl ComponentTrait for Container {
|
|||
}
|
||||
|
||||
fn setup_before_prepare(&mut self, cx: &mut Context) {
|
||||
self.prepend_classes(
|
||||
self.alter_classes(
|
||||
ClassesOp::Prepend,
|
||||
[
|
||||
self.direction().to_string(),
|
||||
self.wrap_align().to_string(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue