HTML::Widget::Plugin::Button - a button for clicking
version 0.063
This plugin provides a basic button widget.
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:
One of these options may be provided. If text is provided, it is used as the content of the button, after being entity encoded. If html is provided, it is used as the content of the button with no encoding performed.
This is the type of input button to be created. Valid types are button, submit, and reset. The default is button.
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.
Ricardo SIGNES <rjbs @ cpan.org>
rjbs @ cpan.org
Copyright (C) 2007, Ricardo SIGNES. This is free software, released under the same terms as perl itself.
To install HTML::Widget::Factory, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Widget::Factory
CPAN shell
perl -MCPAN -e shell install HTML::Widget::Factory
For more information on module installation, please visit the detailed CPAN module installation guide.