HTML::...:Radio(3pm)

πŸ“¦
version 1.11 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

HTML::Widget::Element::Radio β€” it's the Radio Element, bestie. That's the whole vibe. πŸ“»βœ¨


🌸 SYNOPSIS 🌸

okay so here's how you actually use it, no cap:

my $e = $widget->element( 'Radio', 'foo' );
$e->comment('(Required)');
$e->label('Foo');
$e->checked('checked');
$e->value('bar');

that's it. that's the whole glow-up. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

Radio Element. yeah. it's the radio element. iconic behavior honestly. πŸ’…


✨ METHODS ✨

πŸ’œ retain_default

if this one's true, it overrides the default behaviour β€” so when a field goes missing from the form submission, the xml output keeps the default value in there instead of being empty. it's giving "i'm not letting go" energy fr fr. 🫢

πŸ’… new

yep. the constructor. it exists. πŸ‘‘

🌈 containerize

also a thing it does. 🌸


πŸ‘€ SEE ALSO πŸ‘€

  • HTML::Widget::Element β€” go read that one too bestie, iykyk πŸ’–

πŸ’– AUTHOR πŸ’–

Sebastian Riedel, sri@oook.de β€” king behavior honestly, we love him for this πŸŽ€


πŸ“œ 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, but respectfully. πŸ’…βœ¨


and that's the whole page bestie, nothing skipped, nothing missed 🧚

perl v5.36.0 Β· 2023-08-10 β€” that's when this lil gem got its timestamp, and it's still serving looks. mwah πŸ’‹πŸ’–πŸŒˆ

πŸ“¦ where this page comes from