NAME
HTML::Widget::Element::Button - Button Element
SYNOPSIS
$e = $widget->element( 'Button', 'foo' );
$e->value('bar');
DESCRIPTION
Button Element.
METHODS
value
label
The value of this Button element. Is also used by the browser as the button label.
content
If set, the element will use a button
tag rather than an input
tag.
The value of content
will be used between the button
tags, unescaped. This means that any html markup may be used to display the button.
type
Only used if "content" is set.
Defaults to button
. Also valid is submit
and reset
.
$self->render( $widget, $value )
AUTHOR
Marcus Ramberg, mramberg@cpan.org
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.