Object/Class

io.udash.bootstrap.datepicker

UdashDatePicker

Related Docs: class UdashDatePicker | package datepicker

Permalink

object UdashDatePicker

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

Type Members

  1. sealed trait DatePickerEvent extends ListenableEvent[UdashDatePicker]

    Permalink
  2. case class DatePickerIcons(time: Seq[CssStyle] = Seq.empty, date: Seq[CssStyle] = Seq.empty, up: Seq[CssStyle] = Seq.empty, down: Seq[CssStyle] = Seq.empty, previous: Seq[CssStyle] = Seq.empty, next: Seq[CssStyle] = Seq.empty, today: Seq[CssStyle] = Seq.empty, clear: Seq[CssStyle] = Seq.empty, close: Seq[CssStyle] = Seq.empty) extends Product with Serializable

    Permalink
  3. case class 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 = 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 = DatePickerTooltips()) extends Product with Serializable

    Permalink

    Full docs: here.

    Full docs: here.

    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.

  4. case class DatePickerTooltips(today: String = "Go to today", clear: String = "Clear selection", close: String = "Close the picker", selectMonth: String = "Select Month", prevMonth: String = "Previous Month", nextMonth: String = "Next Month", selectYear: String = "Select Year", prevYear: String = "Previous Year", nextYear: String = "Next Year", selectDecade: String = "Select Decade", prevDecade: String = "Previous Decade", nextDecade: String = "Next Decade", prevCentury: String = "Previous Century", nextCentury: String = "Next Century") extends Product with Serializable

    Permalink
  5. sealed class DayOfWeek extends AnyRef

    Permalink
  6. sealed abstract class Placement extends AnyRef

    Permalink
  7. sealed class ViewMode extends AnyRef

    Permalink

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. object DatePickerEvent

    Permalink
  5. object DatePickerIcons extends Serializable

    Permalink
  6. object DatePickerOptions extends Serializable

    Permalink
  7. object DatePickerTooltips extends Serializable

    Permalink
  8. object DayOfWeek

    Permalink
  9. object Placement

    Permalink
  10. object ViewMode

    Permalink
  11. def apply(componentId: ComponentId = UdashBootstrap.newId())(date: udash.Property[Option[Date]], options: udash.ReadableProperty[DatePickerOptions]): UdashDatePicker

    Permalink

    Creates date picker component.

  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def dateRange(from: UdashDatePicker, to: UdashDatePicker)(fromOptions: udash.Property[DatePickerOptions], toOptions: udash.Property[DatePickerOptions]): Registration

    Permalink

    Creates date range selector from provided date pickers.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def loadBootstrapDatePickerStyles(): Element

    Permalink

    Loads Bootstrap Date Picker styles.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped