1 package Reaction::UI::Widget::Image;
3 use Reaction::UI::WidgetClass;
4 use namespace::clean -except => [ qw(meta) ];
6 before fragment widget {
10 ($vp->has_width ? (width => $vp->width) : ()),
11 ($vp->has_height ? (height => $vp->height) : ()),
13 arg img_attrs => attrs( $attrs );
16 __PACKAGE__->meta->make_immutable;