Ricardo SIGNES > HTML-Widget-Factory-0.201 > HTML::Widget::Plugin::Textarea

Download:
HTML-Widget-Factory-0.201.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.201   Source  

NAME ^

HTML::Widget::Plugin::Textarea - a widget for a large text entry box

VERSION ^

version 0.201

SYNOPSIS ^

  $widget_factory->textarea({
    id    => 'elem-id', # also used as control name, if no name given
    value => $big_hunk_of_text,
  });

DESCRIPTION ^

This plugin provides a text-entry area widget.

The default_classes attribute may be used to add a default class to every produced input. This class cannot be overridden.

  my $plugin = HTML::Widget::Factory::Input->new({
    default_classes => [ qw(foo bar) ],
  });

METHODS ^

provided_widgets

This plugin provides the following widgets: textarea

textarea

This method returns a text-entry area widget.

In addition to the generic HTML::Widget::Plugin attributes, the following are valid arguments:

disabled

If true, this option indicates that the widget can't be changed by the user.

value

If this argument is given, the widget will be initially populated by its value.

AUTHOR ^

Ricardo SIGNES

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2005 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: