The manakai project

Web::DOM::HTMLTextAreaElement

DOM HTMLTextAreaElement object

DESCRIPTION

The Web::DOM::HTMLTextAreaElement class implements the DOM HTMLTextAreaElement interface. The class is used by HTML textarea elements.

METHODS

In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, the following method is available:

$boolean = $el->autofocus
$el->autofocus ($boolean)

Return or set whether the autofocus attribute is specified or not. [HTML]

$integer = $el->cols
$el->cols ($integer)

Return or set the cols attribute. [HTML]

$string = $el->default_value
$el->default_value ($string)

Return or set the text content of the element. [HTML]

$string = $el->dirname
$el->dirname ($string)

Return or set the dirname attribute. [HTML]

$boolean = $el->disabled
$el->disabled ($boolean)

Return or set whether the disabled attribute is specified or not. [HTML]

$integer = $el->maxlength
$el->maxlength ($integer)

Return or set the maxlength attribute. [HTML]

$string = $el->name
$el->name ($string)

Return or set the name attribute. [HTML]

$string = $el->placeholder
$el->placeholder ($string)

Return or set the placeholder attribute. [HTML]

$boolean = $el->readonly
$el->readonly ($boolean)

Return or set whether the readonly attribute is specified or not. [HTML]

$boolean = $el->required
$el->required ($boolean)

Return or set whether the required attribute is specified or not. [HTML]

$integer = $el->rows
$el->rows ($integer)

Return or set the rows attribute. [HTML]

$string = $el->wrap
$el->wrap ($string)

Return or set the wrap attribute. [HTML]

$string = $el->type

Return the string textarea. [HTML]

SPECIFICATION

HTML

HTML Standard <https://www.whatwg.org/specs/web-apps/current-work/#the-textarea-element>.

SEE ALSO

Web::DOM::HTMLElement.

AUTHOR

Wakaba <wakaba@suikawiki.org>.

LICENSE

Copyright 2013-2018 Wakaba <wakaba@suikawiki.org>.

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