💥 Rename create_handle!() to new_handle!()

This commit is contained in:
Manuel Cillero 2023-07-26 15:03:18 +02:00
parent d786ea1052
commit 1e554aac68
40 changed files with 49 additions and 49 deletions

View file

@ -1,7 +1,7 @@
use pagetop::prelude::*;
use pagetop_jquery::JQuery;
create_handle!(COMPONENT_MEGAMENUITEM);
new_handle!(COMPONENT_MEGAMENUITEM);
type Label = OneComponent<L10n>;
type Content = OneComponent<L10n>;
@ -144,7 +144,7 @@ impl MegaMenuItem {
// MegaMenu.
create_handle!(COMPONENT_MEGAMENU);
new_handle!(COMPONENT_MEGAMENU);
actions_for_component!(MegaMenu);

View file

@ -2,7 +2,7 @@ use pagetop::prelude::*;
pub mod component;
create_handle!(MODULE_MEGAMENU);
new_handle!(MODULE_MEGAMENU);
static_files!(megamenu);