HTML::...t::Span(3pm)
π 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_filterinHTML::Widget::Elementto false, so that filters added by$widget->filter_allwon't be applied to Span elements. π« - sets
allow_constraintinHTML::Widget::Elementto false, so that constraints added by$widget->constraint_allwon'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
- 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