X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FReaction%2FUI%2FWidget%2FImage.pm;h=705859d1ec1f9bce614dfc16919da4b95e3b42da;hb=f9b32c83550e273bec97c9be5b63079addd4846b;hp=18eb310e22dce7f6d756a4a7c48d5a41e1f230f0;hpb=63bb30b44346800078dc638dcc484828d89c2ad4;p=catagits%2FReaction.git diff --git a/lib/Reaction/UI/Widget/Image.pm b/lib/Reaction/UI/Widget/Image.pm index 18eb310..705859d 100644 --- a/lib/Reaction/UI/Widget/Image.pm +++ b/lib/Reaction/UI/Widget/Image.pm @@ -18,3 +18,46 @@ __PACKAGE__->meta->make_immutable; 1; __END__; + +=head1 NAME + +Reaction::UI::Widget::Image - An image with optional height and width properties + +=head1 DESCRIPTION + +=head1 FRAGMENTS + +=head2 widget + +The widget layout will be provided with an additional C argument containing +a rendered string of the image's attributes containing: + +=over 4 + +=item src + +The return value of the viewports C method. + +=item width + +The value of the viewports C attribute if one was found. + +=item height + +The value of the viewports C attribute if one was found. + +=back + +=head1 LAYOUT SETS + + share/skin/base/layout/image.tt + +=head1 AUTHORS + +See L for authors. + +=head1 LICENSE + +See L for the license. + +=cut