✨ Añade funcionalidades en bundles de componentes
This commit is contained in:
parent
a455488044
commit
4ae6580357
11 changed files with 114 additions and 15 deletions
|
|
@ -260,6 +260,12 @@ impl MegaMenu {
|
|||
self
|
||||
}
|
||||
|
||||
#[fn_builder]
|
||||
pub fn alter_bundle(&mut self, op: BundleOp, item: MegaMenuItem) -> &mut Self {
|
||||
self.items.alter_bundle(op, item);
|
||||
self
|
||||
}
|
||||
|
||||
#[fn_builder]
|
||||
pub fn alter_template(&mut self, template: &str) -> &mut Self {
|
||||
self.template = template.to_owned();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue