1 package Reaction::UI::Widget::DisplayField;
3 use Reaction::UI::WidgetClass;
5 class DisplayField, which {
7 before fragment widget {
8 arg label => $_{viewport}->label;
9 arg value => $_{viewport}->value_string;
20 Reaction::UI::Widget::DisplayField
28 Additional variables available in topic hash: "viewport".
30 Renders "label" and "field"
34 C<content> will contain the value, if any, of the field.
38 C<content> will contain the label, if any, of the field.
42 See L<Reaction::Class> for authors.
46 See L<Reaction::Class> for the license.