Class Attr.Auto

  • All Implemented Interfaces:
    Serializable, CharSequence, IClusterable
    Enclosing class:
    Attr

    public static class Attr.Auto
    extends Attr
    jquery attribute the value and type will be detect automatically.

         new Auto("value").toString(); // = 'value'
         new Auto(1234).toString(); // = 1234
         new Auto(Json.parse("{key:1234}")).toString(); // = {key:1234}
     
    See Also:
    Serialized Form
    • Constructor Detail

      • Auto

        protected Auto​(Object value)
        Construct.
        Parameters:
        value - the attribute value