use namespace::clean -except => [ qw(meta) ];
extends 'Reaction::UI::ViewPort::Object';
-
-
around _build_fields_for_type_Num => sub {
$_[0]->(@_[1,2], { layout => 'value/number', %{ $_[3] || {}} })
};
my $field_name = $args{attribute}->name;
return $class->new(
- ctx => $self->ctx,
- model => $self->model,
- location => join('-', $self->location, 'field', $field_name),
- %args
- );
+ ctx => $self->ctx,
+ model => $self->model,
+ location => join('-', $self->location, 'field', $field_name),
+ %args
+ );
}
sub _build_fields_for_type_Num {
use namespace::clean -except => [ qw(meta) ];
extends 'Reaction::UI::Widget::Object';
-
-
-
__PACKAGE__->meta->make_immutable;
-
1;
__END__;
-
=head1 NAME
Reaction::UI::Widget::Collection::Grid::Member
use namespace::clean -except => [ qw(meta) ];
extends 'Reaction::UI::Widget::Collection::Grid::Member';
-
-
implements fragment actions {
render action => over $_{viewport}->actions;
};
__PACKAGE__->meta->make_immutable;
-
1;
+
+__END__;
+
+=head1 NAME
+
+Reaction::UI::Widget::Grid::Member::WithActions
+
+=head1 DESCRIPTION
+
+=head1 FRAGMENTS
+
+=head1 AUTHORS
+
+See L<Reaction::Class> for authors.
+
+=head1 LICENSE
+
+See L<Reaction::Class> for the license.
+
+=cut