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