<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    SparkX::Form::Field::Plugin::StarML - Laziness for defining a field
    plugin that prints in html or xhtml depending on requirement.

SYNOPSIS
     package My::Field;

     use Moose;
     use 'SparkX::Form::Field::Plugin::StarML';
     extends 'Spark::Form::Field';
     with 'SparkX::Form::Field::Plugin::StarML';
     
 sub render {
         my ($self,$html,@args) = @_;
         print $html-&gt;input({type=&gt;'text', name=&gt;$self-&gt;name, value=&gt;$self-&gt;value});
     }

FUNCTIONS
  to_xhtml () =&gt; Str
    Calls your render method with an XML-printing version of HTML::Tiny

  to_html () =&gt; Str
    Calls your render method with a HTML-printing version of HTML::Tiny

SEE ALSO
    Spark::Form - The forms module that started it all Spark::Form::Manual -
    The manual. Could be of assistance

</pre></body></html>