🚚 Define acción base "before_render_component"
This commit is contained in:
parent
d8812433f1
commit
cb04a29388
12 changed files with 81 additions and 81 deletions
|
|
@ -2,7 +2,7 @@ use pagetop::prelude::*;
|
|||
|
||||
define_handle!(COMPONENT_CONTAINER);
|
||||
|
||||
action_before_render_component!(ACTION_BEFORE_RENDER_CONTAINER, Container);
|
||||
action_before_render_component!(ACTION_BEFORE_RENDER_CONTAINER for Container);
|
||||
|
||||
#[derive(Default)]
|
||||
pub enum ContainerType {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ use pagetop::prelude::*;
|
|||
|
||||
define_handle!(COMPONENT_FORM);
|
||||
|
||||
action_before_render_component!(ACTION_BEFORE_RENDER_FORM, Form);
|
||||
action_before_render_component!(ACTION_BEFORE_RENDER_FORM for Form);
|
||||
|
||||
#[derive(Default)]
|
||||
pub enum FormMethod {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ use pagetop::prelude::*;
|
|||
|
||||
define_handle!(COMPONENT_COLUMN);
|
||||
|
||||
action_before_render_component!(ACTION_BEFORE_RENDER_COLUMN, Column);
|
||||
action_before_render_component!(ACTION_BEFORE_RENDER_COLUMN for Column);
|
||||
|
||||
const SIZE__DEFAULT: &str = "col-md";
|
||||
const SIZE__1_OF_12: &str = "col-md-1";
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ use crate::component::grid;
|
|||
|
||||
define_handle!(COMPONENT_ROW);
|
||||
|
||||
action_before_render_component!(ACTION_BEFORE_RENDER_ROW, Row);
|
||||
action_before_render_component!(ACTION_BEFORE_RENDER_ROW for Row);
|
||||
|
||||
#[rustfmt::skip]
|
||||
#[derive(Default)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue