Commit | Line | Data |
---|---|---|
8f19d042 | 1 | package Reaction::UI::Widget::Field::HiddenArray; |
2 | ||
3 | use Reaction::UI::WidgetClass; | |
4 | ||
5 | class HiddenArray is 'Reaction::UI::Widget::Field', which { | |
6 | ||
9de685fc | 7 | field renders [ item over func('viewport', 'value') ]; |
8 | item renders [ string { $_ } ]; | |
9 | ||
8f19d042 | 10 | }; |
11 | ||
12 | 1; | |
13 | ||
14 | ||
5a1a893e | 15 | =head1 NAME |
8f19d042 | 16 | |
5a1a893e | 17 | Reaction::UI::Widget::Field::HiddenArray |
8f19d042 | 18 | |
5a1a893e | 19 | =head1 DESCRIPTION |
8f19d042 | 20 | |
5a1a893e | 21 | See L<Reaction::UI::Widget::Field> |
8f19d042 | 22 | |
5a1a893e | 23 | =head1 FRAGMENTS |
8f19d042 | 24 | |
5a1a893e | 25 | =head2 field |
8f19d042 | 26 | |
5a1a893e | 27 | renders fragment C<item> over the values of 'value' arrayref |
8f19d042 | 28 | |
5a1a893e | 29 | =head2 item |
30 | ||
31 | C<content> is $_{_} / $_ (current item in the 'value' array) | |
32 | ||
33 | =head1 AUTHORS | |
34 | ||
35 | See L<Reaction::Class> for authors. | |
36 | ||
37 | =head1 LICENSE | |
38 | ||
39 | See L<Reaction::Class> for the license. | |
8f19d042 | 40 | |
41 | =cut |