HTML::...Element(3pm)

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

Hey bestie πŸ’– you've landed on the HTML::...Element(3pm) page β€” the header also says User Contributed Perl Documentation, so that's the vibe.

🌸 NAME 🌸

HTML::FormHandler::Field::RmElement β€” the field to support repeatable javascript remove. That's the whole assignment, bestie.

πŸ¦‹ VERSION πŸ¦‹

This one is at version 0.40068 β€” noted and slayed.

✨ SYNOPSIS ✨

Okay so this is an EXAMPLE field for rendering an RmElement field for doing javascript removals of repeatable elements. It's giving demo energy.

You probably want to make your own. real talk.

The main requirements are that the button needs to have:

  1. the rm_element class;
  2. a data-rep-elem-id attribute that contains the id of the repeatable instance that you want to remove ("$self->parent->id").

This field should be a subfield of the Repeatable, probably either first or last β€” that's the placement tea, bestie.

πŸŽ€ NAME πŸŽ€

Yep, the page has a second NAME section β€” iconic but chaotic. It's still:

HTML::FormHandler::Field::RmElement

πŸ’œ ATTRIBUTES πŸ’œ

Here's the attribute snippet, exactly as it appears β€” no edits, no cap:

           has_field 'rm_element' => ( type => 'RmElement',
               value => 'Remove',
           );

🌈 AUTHOR 🌈

FormHandler Contributors β€” see HTML::FormHandler. Full credit, no gatekeeping.

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.

Bestie, those license terms are the actual terms β€” keep them intact πŸ’…

That's the whole page, bestie 🫢 β€” footer says perl v5.34.0, 2022-03-25, and HTML::...Element(3pm). Byeee πŸ’…βœ¨

πŸ“¦ where this page comes from