Interface DateTagDeclaration

    • Method Detail

      • setTodayButton

        void setTodayButton​(String required)
        If true, a today- or now-button is displayed.
      • setValue

        void setValue​(String value)
        Sets the minimum value of the date.
        Specified by:
        setValue in interface HasValue
      • setMin

        void setMin​(String min)
        Sets the minimum value of the date.
      • setMax

        void setMax​(String max)
        Sets the maximum value of the date.
      • setStep

        void setStep​(String step)
        Sets the step of a date or time picker. Value is in seconds. Reasonable values are e.g. 0.001, 1, 5, 10, 60, 300, 3600. If not set, browsers drop the seconds, so it's the same as the value of 60. To show seconds use 1. To show milliseconds use 0.001. Browser support is in progress.
      • setType

        void setType​(String type)
        Type of the date/time input. Warning: month and week currently not supported.