HTML::...t::Span(3pm)

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

πŸ’– HTML::Widget::Element::Span β€” the span element, bestie πŸ’–

User Contributed Perl Documentation ✨ it's giving HTML::...t::Span(3pm), and we're gonna get into it.


🌸 NAME 🌸

HTML::Widget::Element::Span β€” literally just the Span Element. no cap.


✨ SYNOPSIS ✨

okay so here's the vibe, copy-paste era:

my $e = $widget->element( 'Span', 'foo' );
$e->content('bar');

that's it. that's the whole thing. iconic behavior. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

Span Element.

yeah. it's a span element. it does span things. we move. πŸ’…


πŸŽ€ METHODS πŸŽ€

🌈 content

content() can hold a string, an HTML::Element object, or an array-ref of HTML::Element objects. so like, pick your fighter β€” text, one element, or a whole lil squad of elements in an arrayref. all valid. all slay. 🫢

🌸 containerize

containerize β€” yes, it exists, it's listed right there, and we're not gonna pretend it isn't. πŸ’€

⭐ new

this is the one with the lore, so listen up:

  • sets allow_filter in HTML::Widget::Element to false, so that filters added by $widget->filter_all won't be applied to Span elements. 🚫
  • sets allow_constraint in HTML::Widget::Element to false, so that constraints added by $widget->constraint_all won't be applied to Span elements. 🚫
bestie, fr fr β€” Span said "not me getting filtered," and honestly? valid. the all-the-things helpers just do not touch this element. periodt.

🧚 SEE ALSO 🧚

  • HTML::Widget::Element β€” the parent, the blueprint, the main character it's referencing. go read that too, iykyk. πŸ’œ

πŸ‘‘ AUTHOR πŸ‘‘

Sebastian Riedel, sri@oook.de 🌟


πŸ’œ LICENSE πŸ’œ

this library is free software, and you can redistribute it and/or modify it under the same terms as Perl itself. so like, go off, just keep it Perl-flavored. πŸ“


and that's the whole page, bestie!! πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ this gem of a doc shipped with perl v5.36.0, dated 2023-08-10, and honestly it ate. go build something cute with it. mwah. πŸ’…πŸ«ΆπŸŒˆβ­

πŸ“¦ where this page comes from