💥 Rename Veck to LisComponents
This commit is contained in:
parent
24f2f0d765
commit
66117992c1
7 changed files with 47 additions and 43 deletions
|
|
@ -13,7 +13,7 @@ pub struct Container {
|
|||
renderable: Renderable,
|
||||
id : IdentifierValue,
|
||||
classes : Classes,
|
||||
items : VeckComponents<flex::Item>,
|
||||
items : LisComponents<flex::Item>,
|
||||
template : String,
|
||||
}
|
||||
|
||||
|
|
@ -83,12 +83,12 @@ impl Container {
|
|||
}
|
||||
|
||||
pub fn with_item(mut self, item: flex::Item) -> Self {
|
||||
self.items.alter(VeckOp::Add(ComponentOne::with(item)));
|
||||
self.items.alter(LisOp::Add(ComponentOne::with(item)));
|
||||
self
|
||||
}
|
||||
|
||||
#[fn_builder]
|
||||
pub fn alter_items(&mut self, op: VeckOp<flex::Item>) -> &mut Self {
|
||||
pub fn alter_items(&mut self, op: LisOp<flex::Item>) -> &mut Self {
|
||||
self.items.alter(op);
|
||||
self
|
||||
}
|
||||
|
|
@ -105,7 +105,7 @@ impl Container {
|
|||
&self.classes
|
||||
}
|
||||
|
||||
pub fn items(&self) -> &VeckComponents<flex::Item> {
|
||||
pub fn items(&self) -> &LisComponents<flex::Item> {
|
||||
&self.items
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ pub struct Row {
|
|||
renderable: Renderable,
|
||||
id : IdentifierValue,
|
||||
classes : Classes,
|
||||
columns : VeckComponents<grid::Column>,
|
||||
columns : LisComponents<grid::Column>,
|
||||
template : String,
|
||||
}
|
||||
|
||||
|
|
@ -83,12 +83,12 @@ impl Row {
|
|||
}
|
||||
|
||||
pub fn with_column(mut self, column: grid::Column) -> Self {
|
||||
self.columns.alter(VeckOp::Add(ComponentOne::with(column)));
|
||||
self.columns.alter(LisOp::Add(ComponentOne::with(column)));
|
||||
self
|
||||
}
|
||||
|
||||
#[fn_builder]
|
||||
pub fn alter_columns(&mut self, op: VeckOp<grid::Column>) -> &mut Self {
|
||||
pub fn alter_columns(&mut self, op: LisOp<grid::Column>) -> &mut Self {
|
||||
self.columns.alter(op);
|
||||
self
|
||||
}
|
||||
|
|
@ -105,7 +105,7 @@ impl Row {
|
|||
&self.classes
|
||||
}
|
||||
|
||||
pub fn columns(&self) -> &VeckComponents<grid::Column> {
|
||||
pub fn columns(&self) -> &LisComponents<grid::Column> {
|
||||
&self.columns
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue