diff options
author | phaylon <phaylon@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-02-16 02:40:11 +0000 |
---|---|---|
committer | phaylon <phaylon@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-02-16 02:40:11 +0000 |
commit | f9b32c83550e273bec97c9be5b63079addd4846b (patch) | |
tree | c7bdd746379aa8bb3ffd1e2500d86daf32d3b8e0 /lib/Reaction/UI/Widget/Field/Image.pm | |
parent | 63bb30b44346800078dc638dcc484828d89c2ad4 (diff) | |
download | reaction-f9b32c83550e273bec97c9be5b63079addd4846b.tar.gz reaction-f9b32c83550e273bec97c9be5b63079addd4846b.zip |
widget documentation
Diffstat (limited to 'lib/Reaction/UI/Widget/Field/Image.pm')
-rw-r--r-- | lib/Reaction/UI/Widget/Field/Image.pm | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/lib/Reaction/UI/Widget/Field/Image.pm b/lib/Reaction/UI/Widget/Field/Image.pm index 839545e..b2a379a 100644 --- a/lib/Reaction/UI/Widget/Field/Image.pm +++ b/lib/Reaction/UI/Widget/Field/Image.pm @@ -18,5 +18,44 @@ implements fragment image { __PACKAGE__->meta->make_immutable; - 1; + +__END__ + +=head1 NAME + +Reaction::UI::Widget::Field::Image - An image field + +=head1 DESCRIPTION + +This L<Reaction::UI::Widget::Field> widget represents an image. + +=head1 FRAGMENTS + +=head2 image + +If the viewport's C<value_string> is true, it will render the C<has_image> +fragment after setting the C<uri> argument to the value of the viewport's +C<uri>. + +If the C<value_string> is false the C<no_image> fragment will be rendered. + +=head1 SEE ALSO + +=over 4 + +=item * L<Reaction::UI::Widget::Field> + +=item * L<Reaction::UI::Widget::Value::Image> + +=back + +=head1 AUTHORS + +See L<Reaction::Class> for authors. + +=head1 LICENSE + +See L<Reaction::Class> for the license. + +=cut |