Commit | Line | Data |
---|---|---|
8f19d042 | 1 | package Reaction::UI::Widget::Field::DateTime; |
2 | ||
3 | use Reaction::UI::WidgetClass; | |
4 | ||
5 | class DateTime is 'Reaction::UI::Widget::Field', which { | |
6 | ||
7 | field renders [ string { $_{viewport}->value_string }, ]; | |
8 | ||
9 | }; | |
10 | ||
11 | 1; | |
12 | ||
8f19d042 | 13 | |
5a1a893e | 14 | =head1 NAME |
8f19d042 | 15 | |
5a1a893e | 16 | Reaction::UI::Widget::Field::DateTime |
8f19d042 | 17 | |
5a1a893e | 18 | =head1 DESCRIPTION |
8f19d042 | 19 | |
5a1a893e | 20 | See L<Reaction::UI::Widget::Field> |
8f19d042 | 21 | |
5a1a893e | 22 | =head1 FRAGMENTS |
8f19d042 | 23 | |
5a1a893e | 24 | =head2 field |
8f19d042 | 25 | |
5a1a893e | 26 | C<content> contains viewport's C<value_string> |
27 | ||
28 | =head1 AUTHORS | |
29 | ||
30 | See L<Reaction::Class> for authors. | |
31 | ||
32 | =head1 LICENSE | |
33 | ||
34 | See L<Reaction::Class> for the license. | |
8f19d042 | 35 | |
36 | =cut |