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/Action | |
parent | 63bb30b44346800078dc638dcc484828d89c2ad4 (diff) | |
download | reaction-f9b32c83550e273bec97c9be5b63079addd4846b.tar.gz reaction-f9b32c83550e273bec97c9be5b63079addd4846b.zip |
widget documentation
Diffstat (limited to 'lib/Reaction/UI/Widget/Action')
-rw-r--r-- | lib/Reaction/UI/Widget/Action/Link.pm | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/lib/Reaction/UI/Widget/Action/Link.pm b/lib/Reaction/UI/Widget/Action/Link.pm index 1063ed0..0c40670 100644 --- a/lib/Reaction/UI/Widget/Action/Link.pm +++ b/lib/Reaction/UI/Widget/Action/Link.pm @@ -18,3 +18,78 @@ __PACKAGE__->meta->make_immutable; __END__; +=head1 NAME + +Reaction::UI::Widget::Action::Link - A hyperlink representing an object mutation + +=head1 DESCRIPTION + +=head1 FRAGMENTS + +=head2 widget + +The following additional arguments are provided: + +=over 4 + +=item uri + +The viewport's C<uri>. + +=item label + +The localised value of the viewport's C<label>. + +=back + +=head1 LAYOUT SETS + +=head2 base + + share/skin/base/layout/action/link.tt + +The following layouts are provided: + +=over 4 + +=item widget + +Renders a hyperlink with a C<href> attribute set to the C<uri> argument and +the content set to the C<label> argument. + +=back + +=head2 default + + share/skin/default/layout/action/link.tt + +This layout set extends the C<NEXT> layout set with the same name in the parent +skin. + +The following layouts are provided: + +=over 4 + +=item widget + +Renders a C<br> element after the original C<widget> fragment. + +=back + +=head1 SEE ALSO + +=over 4 + +=item * L<Reaction::UI::Widget::Action> + +=back + +=head1 AUTHORS + +See L<Reaction::Class> for authors. + +=head1 LICENSE + +See L<Reaction::Class> for the license. + +=cut |