$html

Object providing a set of utility functions for HTML language code generation


Since : 3.0.0

Attributes and methods
.max(AttributeInContext ?) : String

Returns the HTML5 'max' attribute for maximum values (or void if none)
e.g : max='10'

Parameters :
   ? :

.maxlength(AttributeInContext ?) : String

Returns the HTML5 'maxlength' attribute if any or if computable from type
(else returns a void string)
e.g : maxlength='20'

Parameters :
   ? :

.min(AttributeInContext ?) : String

Returns the HTML5 'min' attribute for minimum values (or void if none)
e.g : min='10'

Parameters :
   ? :

.type(AttributeInContext ?) : String

Returns the HTML5 'type' attribute for 'input' tag
The 'type' is determinded from the 'input type' if any or computed from the model type
e.g : type='text', type='number', type='date', type='time', etc

Parameters :
   ? :