1 package Reaction::UI::Widget::Action::Link;
3 use Reaction::UI::WidgetClass;
5 #I want to change this at some point.
6 use namespace::clean -except => [ qw(meta) ];
9 before fragment widget {
10 arg uri => $_{viewport}->uri;
11 arg label => localized $_{viewport}->label;
14 __PACKAGE__->meta->make_immutable;
23 Reaction::UI::Widget::Action::Link - A hyperlink representing an object mutation
31 The following additional arguments are provided:
37 The viewport's C<uri>.
41 The localised value of the viewport's C<label>.
49 share/skin/base/layout/action/link.tt
51 The following layouts are provided:
57 Renders a hyperlink with a C<href> attribute set to the C<uri> argument and
58 the content set to the C<label> argument.
64 share/skin/default/layout/action/link.tt
66 This layout set extends the C<NEXT> layout set with the same name in the parent
69 The following layouts are provided:
75 Renders a C<br> element after the original C<widget> fragment.
83 =item * L<Reaction::UI::Widget::Action>
89 See L<Reaction::Class> for authors.
93 See L<Reaction::Class> for the license.