Why not adopt me?
NAME
HTML::Widget::Plugin::Button - a button for clicking
VERSION
version 0.055
$Id: Button.pm 28249 2007-02-28 20:48:46Z rjbs $
DESCRIPTION
This plugin provides a basic button widget.
METHODS
provided_widgets
This plugin provides the following widgets: input
button
This method returns simple button element.
In addition to the generic HTML::Widget::Plugin attributes, the following are valid arguments:
- content
-
This is the content of the button element, to be displayed on the button's face.
- literal_content
-
If true, this argument indicates that the given content should not be subject to escaping.
- type
-
This is the type of input button to be created. Valid types are button, submit, and reset. The default is button.
- value
-
This is the widget's initial value.
build
my $widget = $class->build($factory, $arg);
This method does the actual construction of the input based on the args collected by the widget-constructing method. It is primarily here for subclasses to exploit.
AUTHOR
Ricardo SIGNES <rjbs @ cpan.org
>
COPYRIGHT
Copyright (C) 2007, Ricardo SIGNES. This is free software, released under the same terms as perl itself.