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

NAME

Quiq::Html::Widget::CheckBox - Checkbox

BASE CLASS

Quiq::Html::Widget

ATTRIBUTES

class => $class (Default: undef)

CSS Klasse.

disabled => $bool (Default: 0)

Keine Eingabe möglich.

hidden => $bool (Default: 0)

Nicht sichtbar.

id => $id (Default: undef)

CSS-Id.

label => $html (Default: '')

Label rechts neben der Checkbox.

name => $name (Default: undef)

Name, unter dem die Checkbox kommuniziert wird.

onClick => $js (Default: undef)

OnClick-Handler.

option => $value (Default: undef)

Wert, der gesendet wird, wenn die CheckBox aktiviert ist.

style => $style (Default: undef)

CSS Definition (inline).

title => $str (Default: undef)

Tooltip-Text.

undefIf => $bool (Default: 0)

Wenn wahr, liefere undef als Widget-Code.

value => $value (Default: undef)

Aktueller Wert. Stimmt dieser mit dem Wert des Attributs option überein, wird die Checkbox aktiviert.

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.192

AUTHOR

Frank Seitz, http://fseitz.de/

COPYRIGHT

Copyright (C) 2020 Frank Seitz

LICENSE

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