HTML::...:Reset(3pm)
π HTML::...:Reset(3pm) β the manual page, but make it cute π
okay bestie, gather round, because today we're learning about HTML::...:Reset(3pm) β yes that's the whole manual name, and yes it's giving mysterious truncated energy, but we move. β¨
πΈ NAME πΈ
HTML::Widget::Element::Reset β the Reset Element. that's it, that's the name. iconic, brief, no notes. π
π SYNOPSIS π
here's the vibe, copy it exactly bestie:
$e = $widget->element( 'Reset', 'foo' );
$e->value('bar');
look at that. two lines. clean. slay. π«Ά
π¦ DESCRIPTION π¦
so it's a Reset button element. that's the whole thing. it's a button, and it resets. main character behavior fr fr.
it inherits all methods from HTML::Widget::Element::Button β so like, everything Button can do, Reset can do too. nepotism but make it inheritance. π
and it automatically sets type to "reset". no cap, you don't have to do it, it just does it. self-sufficient queen. β¨
π METHODS π
β new
it's here. the docs list it, that's the tea. no extra deets given, so i'm not gonna invent any. π
β label
also listed. also no extra notes. it's giving "the docs said what they said." π
π value
okay THIS one has actual lore:
- it sets the form field value. that's its whole job.
- it's also used by the browser as the button label. so like, one string, two purposes, multitasking icon behavior. π₯
- if you don't set it, the browser will usually display the label as
"Reset". note the usually β the docs are being honest with us, they said usually, not always. we respect that. - and plot twist:
labelis an alias forvalue. they're the same thing, just two names. sibling energy. same person, different font. π
π SEE ALSO π
go read these too bestie, they're the extended universe:
HTML::Widget::Element::ButtonHTML::Widget::Element
π AUTHOR π
Sebastian Riedel, sri@oook.de β thank you for your service, king. π«Ά
π LICENSE π
this library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. so like, go wild, respectfully. π
and that's the whole page bestie!! this was perl v5.36.0, dated 2023-08-10, and honestly? she ate. mwah. π β¨π
π¦ where this page comes from
- debian trixie: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms