aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/Widget/Container.pm
diff options
context:
space:
mode:
authorphaylon <phaylon@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-02-16 02:40:11 +0000
committerphaylon <phaylon@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-02-16 02:40:11 +0000
commitf9b32c83550e273bec97c9be5b63079addd4846b (patch)
treec7bdd746379aa8bb3ffd1e2500d86daf32d3b8e0 /lib/Reaction/UI/Widget/Container.pm
parent63bb30b44346800078dc638dcc484828d89c2ad4 (diff)
downloadreaction-f9b32c83550e273bec97c9be5b63079addd4846b.tar.gz
reaction-f9b32c83550e273bec97c9be5b63079addd4846b.zip
widget documentation
Diffstat (limited to 'lib/Reaction/UI/Widget/Container.pm')
-rw-r--r--lib/Reaction/UI/Widget/Container.pm32
1 files changed, 31 insertions, 1 deletions
diff --git a/lib/Reaction/UI/Widget/Container.pm b/lib/Reaction/UI/Widget/Container.pm
index 11ac72f..f470d51 100644
--- a/lib/Reaction/UI/Widget/Container.pm
+++ b/lib/Reaction/UI/Widget/Container.pm
@@ -57,5 +57,35 @@ implements _contained_names => sub {
__PACKAGE__->meta->make_immutable;
-
1;
+
+__END__
+
+=head1 NAME
+
+Reaction::UI::Widget::Container - Provide viewport attibutes in the current viewport
+
+=head1 DESCRIPTION
+
+This widget base class (with no corresponding layout set) will search the viewports
+attributes for those that contain L<Reaction::UI::ViewPort> classes or subclasses.
+
+These attributes will then be provided as arguments to the C<widget> fragment and
+can be rendered by their attribute name.
+
+=head1 FRAGMENTS
+
+=head2 widget
+
+Provides rendering callbacks to those attributes of the viewport that can contain
+viewport objects as arguments to the C<widget> layout.
+
+=head1 AUTHORS
+
+See L<Reaction::Class> for authors.
+
+=head1 LICENSE
+
+See L<Reaction::Class> for the license.
+
+=cut