| Reaction documentation | Contained in the Reaction distribution. |
Reaction::UI::Widget::Value
This widget provides the return value of the vlues_string or value
method on the viewport (depending on which is available first) via the
value argument to widget.
Will simply display the value.
This widget iterates over a collection of values provided by the viewport and renders an unordered list out of them.
A simple subclass of Reaction::UI::Widget::Value, currently not doing much.
Provides has_image and no_image blocks that will be rendered depending
on the viewports value_string attribute. The defaults are to either render
an image tag, or to output nothing at all.
A simple subclass of Reaction::UI::Widget::Value that doesn't do much yet.
A simple subclass of Reaction::UI::Widget::Value that doesn't do much yet.
A simple subclass of Reaction::UI::Widget::Value that doesn't do much yet.
A simple subclass of Reaction::UI::Widget::Value that doesn't do much yet.
Additional available arguments
value_string or value of the viewportSee Reaction::Class for authors.
See Reaction::Class for the license.
| Reaction documentation | Contained in the Reaction distribution. |
package Reaction::UI::Widget::Value; use Reaction::UI::WidgetClass; use namespace::clean -except => [ qw(meta) ]; before fragment widget { if ($_{viewport}->can('value_string')) { arg value => $_{viewport}->value_string; } elsif($_{viewport}->can('value')) { arg value => $_{viewport}->value; } }; __PACKAGE__->meta->make_immutable; 1; __END__;