HTML::...:Block(3pm)

πŸ“¦
version 0.40068 Β· 6 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute

πŸŽ€ NAME πŸŽ€

okay so this is HTML::FormHandler::Widget::Block β€” the base block renderer, bestie. it's the little engine that renders your blocks, meant to be used with HTML::FormHandler::Blocks. periodt.

✨ VERSION ✨

version 0.40068 β€” yes, she's got a version number, we stan a documented queen πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

it's a base block renderer to be used with HTML::FormHandler::Blocks, and here's the vibe in code:

has_block 'my_fieldset' => ( tag => 'fieldset',
    render_list => ['bar'], label => 'My Special Bar' );

like, that's it. that's the whole mood. πŸ”₯

πŸ’– ATTRIBUTES πŸ’–

  • render_list β€” the list of names of objects to render β€” and yes, that includes fields and blocks, both of them, no cap.
  • build_render_list_method β€” a coderef for constructing the list of names of objects to render (fields and blocks again, she's consistent πŸ’€).
  • tag β€” the HTML tag for this block. default is 'div'. main character energy, honestly.
  • class β€” an arrayref of classes for the HTML element. dress her up 🌸
  • attr β€” other attributes for the HTML element. all the extras 🫢
  • label_tag β€” the tag to use for the label. default: 'span'; but the default for 'fieldset' is 'legend'. yes, it switches up, iykyk ✨
  • label_class β€” classes for the label. slay.
  • label β€” the label string. it will be localized, so it speaks every language fr fr 🌈

πŸ‘‘ AUTHOR πŸ‘‘

FormHandler Contributors β€” see HTML::FormHandler. the whole squad, not just one person πŸ’œ

This software is copyright (c) 2017 by Gerda Shank.

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

literally free software, go wild, just keep the same terms as Perl 5 itself πŸ“

and that's the page, bestie!! 🧚 this iconic lil number was brought to you by perl v5.34.0, dated 2022-03-25 β€” she's vintage, she's documented, she ATE πŸ’…πŸ’–

πŸ“¦ where this page comes from