Class/Object

io.udash.bootstrap.datepicker.UdashDatePicker

DatePickerOptions

Related Docs: object DatePickerOptions | package UdashDatePicker

Permalink

class DatePickerOptions extends AnyRef

Full docs: here.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DatePickerOptions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DatePickerOptions(format: String, dayViewHeaderFormat: String = "MMMM YYYY", extraFormats: Seq[String] = Seq.empty, stepping: Int = 1, minDate: Option[Date] = None, maxDate: Option[Date] = None, useCurrent: Boolean = true, collapse: Boolean = true, locale: Option[String] = None, defaultDate: Option[Date] = None, disabledDates: Seq[Date] = Seq.empty, enabledDates: Seq[Date] = Seq.empty, icons: DatePickerIcons = new DatePickerIcons(), useStrict: Boolean = false, sideBySide: Boolean = false, daysOfWeekDisabled: Seq[DayOfWeek] = Seq.empty, calendarWeeks: Boolean = false, viewMode: ViewMode = ViewMode.Days, toolbarPlacement: Option[VerticalPlacement] = None, showTodayButton: Boolean = false, showClear: Boolean = false, showClose: Boolean = false, widgetPositioning: Option[(HorizontalPlacement, VerticalPlacement)] = None, widgetParent: Option[String] = None, keepOpen: Boolean = false, inline: Boolean = false, keepInvalid: Boolean = false, ignoreReadonly: Boolean = false, allowInputToggle: Boolean = false, focusOnShow: Boolean = true, enabledHours: Seq[Int] = Seq.empty, disabledHours: Seq[Int] = Seq.empty, viewDate: Boolean = false, tooltips: DatePickerTooltips[String] = ...)

    Permalink

    format

    See momentjs' docs for valid formats. Format also dictates what components are shown, e.g. MM/dd/YYYY will not display the time picker.

    dayViewHeaderFormat

    Changes the heading of the datepicker when in "days" view.

    extraFormats

    Allows for several input formats to be valid.

    stepping

    Number of minutes the up/down arrow's will move the minutes value in the time picker.

    minDate

    Prevents date/time selections before this date.

    maxDate

    Prevents date/time selections after this date.

    useCurrent

    On show, will set the picker to the current date/time.

    collapse

    Using a Bootstraps collapse to switch between date/time pickers.

    locale

    See momentjs' docs for valid locales.

    defaultDate

    Sets the picker default date/time. Overrides useCurrent.

    disabledDates

    Disables selection of dates in the array, e.g. holidays.

    enabledDates

    Disables selection of dates NOT in the array, e.g. holidays.

    icons

    Change the default icons for the pickers functions.

    useStrict

    Defines if moment should use strict date parsing when considering a date to be valid.

    sideBySide

    Shows the picker side by side when using the time and date together.

    daysOfWeekDisabled

    Disables the section of days of the week, e.g. weekends.

    calendarWeeks

    Shows the week of the year to the left of first day of the week.

    viewMode

    The default view to display when the picker is shown. Note: To limit the picker to selecting, for instance the year and month, use format: MM/YYYY

    toolbarPlacement

    Changes the placement of the icon toolbar.

    showTodayButton

    Show the "Today" button in the icon toolbar.

    showClear

    Show the "Clear" button in the icon toolbar.

    showClose

    Show the "Close" button in the icon toolbar.

    widgetPositioning

    Position of datepicker widget.

    widgetParent

    On picker show, places the widget at the identifier object if the element has css position: 'relative'.

    keepOpen

    Will cause the date picker to stay open after selecting a date if no time components are being used.

    inline

    Will display the picker inline without the need of a input field. This will also hide borders and shadows.

    keepInvalid

    Will cause the date picker to not revert or overwrite invalid dates.

    ignoreReadonly

    Allow date picker show event to fire even when the associated input element has the readonly="readonly" property.

    allowInputToggle

    If true, the picker will show on textbox focus and icon click when used in a button group.

    focusOnShow

    If false, the textbox will not be given focus when the picker is shown

    enabledHours

    Will allow or disallow hour selections.

    disabledHours

    Will allow or disallow hour selections.

    viewDate

    This will change the viewDate without changing or setting the selected date.

    tooltips

    This will change the tooltips over each icon to a custom string.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val allowInputToggle: Boolean

    Permalink

    If true, the picker will show on textbox focus and icon click when used in a button group.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val calendarWeeks: Boolean

    Permalink

    Shows the week of the year to the left of first day of the week.

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val collapse: Boolean

    Permalink

    Using a Bootstraps collapse to switch between date/time pickers.

  9. val dayViewHeaderFormat: String

    Permalink

    Changes the heading of the datepicker when in "days" view.

  10. val daysOfWeekDisabled: Seq[DayOfWeek]

    Permalink

    Disables the section of days of the week, e.g.

    Disables the section of days of the week, e.g. weekends.

  11. val defaultDate: Option[Date]

    Permalink

    Sets the picker default date/time.

    Sets the picker default date/time. Overrides useCurrent.

  12. val disabledDates: Seq[Date]

    Permalink

    Disables selection of dates in the array, e.g.

    Disables selection of dates in the array, e.g. holidays.

  13. val disabledHours: Seq[Int]

    Permalink

    Will allow or disallow hour selections.

  14. val enabledDates: Seq[Date]

    Permalink

    Disables selection of dates NOT in the array, e.g.

    Disables selection of dates NOT in the array, e.g. holidays.

  15. val enabledHours: Seq[Int]

    Permalink

    Will allow or disallow hour selections.

  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. val extraFormats: Seq[String]

    Permalink

    Allows for several input formats to be valid.

  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. val focusOnShow: Boolean

    Permalink

    If false, the textbox will not be given focus when the picker is shown

  21. val format: String

    Permalink

    See momentjs' docs for valid formats.

    See momentjs' docs for valid formats. Format also dictates what components are shown, e.g. MM/dd/YYYY will not display the time picker.

  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. val icons: DatePickerIcons

    Permalink

    Change the default icons for the pickers functions.

  25. val ignoreReadonly: Boolean

    Permalink

    Allow date picker show event to fire even when the associated input element has the readonly="readonly" property.

  26. val inline: Boolean

    Permalink

    Will display the picker inline without the need of a input field.

    Will display the picker inline without the need of a input field. This will also hide borders and shadows.

  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. val keepInvalid: Boolean

    Permalink

    Will cause the date picker to not revert or overwrite invalid dates.

  29. val keepOpen: Boolean

    Permalink

    Will cause the date picker to stay open after selecting a date if no time components are being used.

  30. val locale: Option[String]

    Permalink

    See momentjs' docs for valid locales.

    See momentjs' docs for valid locales.

  31. val maxDate: Option[Date]

    Permalink

    Prevents date/time selections after this date.

  32. val minDate: Option[Date]

    Permalink

    Prevents date/time selections before this date.

  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. val showClear: Boolean

    Permalink

    Show the "Clear" button in the icon toolbar.

  37. val showClose: Boolean

    Permalink

    Show the "Close" button in the icon toolbar.

  38. val showTodayButton: Boolean

    Permalink

    Show the "Today" button in the icon toolbar.

  39. val sideBySide: Boolean

    Permalink

    Shows the picker side by side when using the time and date together.

  40. val stepping: Int

    Permalink

    Number of minutes the up/down arrow's will move the minutes value in the time picker.

  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  43. val toolbarPlacement: Option[VerticalPlacement]

    Permalink

    Changes the placement of the icon toolbar.

  44. val tooltips: DatePickerTooltips[String]

    Permalink

    This will change the tooltips over each icon to a custom string.

  45. val useCurrent: Boolean

    Permalink

    On show, will set the picker to the current date/time.

  46. val useStrict: Boolean

    Permalink

    Defines if moment should use strict date parsing when considering a date to be valid.

  47. val viewDate: Boolean

    Permalink

    This will change the viewDate without changing or setting the selected date.

  48. val viewMode: ViewMode

    Permalink

    The default view to display when the picker is shown.

    The default view to display when the picker is shown. Note: To limit the picker to selecting, for instance the year and month, use format: MM/YYYY

  49. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. val widgetParent: Option[String]

    Permalink

    On picker show, places the widget at the identifier object if the element has css position: 'relative'.

  53. val widgetPositioning: Option[(HorizontalPlacement, VerticalPlacement)]

    Permalink

    Position of datepicker widget.

Inherited from AnyRef

Inherited from Any

Ungrouped