The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Prty::Html::Widget::TextField - Einzeiliges Textfeld

BASE CLASS

Prty::Html::Widget

ATTRIBUTES

id => $id (Default: undef)

Id des Textfelds.

class => $class (Default: undef)

CSS Klasse des Textfelds.

style => $style (Default: undef)

CSS Definition (inline).

disabled => $bool (Default: 0)

Widget kann nicht editiert werden.

hidden => $bool (Default: 0)

Widget ist (aktuell) unsichtbar.

maxLength => $n (Default: Wert von "size")

Maximale Länge des Eingabewerts in Zeichen. Ein Wert von "0" beutet keine Eingabebegrenzung.

name => $name (Default: undef)

Name des Textfelds.

onKeyUp => $js (Default: undef)

JavaScript-Handler.

size => $n (Default: undef)

Breite des Feldes in Zeichen.

title => $text (Deafult: undef)

Text Tooltip.

value => $str (Default: undef)

Anfänglicher Wert des Textfelds.

METHODS

Konstruktor

new() - Konstruktor

Synopsis

    $e = $class->new(@keyVal);

Objektmethoden

html() - Generiere HTML-Code

Synopsis

    $html = $e->html($h);
    $html = $class->html($h,@keyVal);

VERSION

1.108

AUTHOR

Frank Seitz, http://fseitz.de/

COPYRIGHT

Copyright (C) 2017 Frank Seitz

LICENSE

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