Object/Class

io.udash.bootstrap.datepicker

UdashDatePicker

Related Docs: class UdashDatePicker | package datepicker

Permalink

object UdashDatePicker

Linear Supertypes
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. final class CustomDatePickerIcons extends DatePickerIcons

    Permalink
  2. sealed trait DatePickerEvent extends AbstractCase with bootstrap.ListenableEvent[UdashDatePicker]

    Permalink
  3. sealed trait DatePickerIcons extends AnyRef

    Permalink
  4. final 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 = DefaultDatePickerIcons, useStrict: Boolean = false, sideBySide: Boolean = false, daysOfWeekDisabled: Seq[DayOfWeek] = Seq.empty, calendarWeeks: Boolean = false, viewMode: ViewMode = ViewMode.Days, toolbarPlacement: Option[VerticalPlacement] = None, showToday: 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 = ...) extends AbstractCase with 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.

    showToday

    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.

  5. final case class DatePickerTooltips(today: String, clear: String, close: String, selectMonth: String, prevMonth: String, nextMonth: String, selectYear: String, prevYear: String, nextYear: String, selectDecade: String, prevDecade: String, nextDecade: String, prevCentury: String, nextCentury: String) extends AbstractCase with Product with Serializable

    Permalink
  6. final class DayOfWeek extends AnyRef

    Permalink
  7. final class DefaultDatePickerIcon extends AbstractValueEnum

    Permalink
  8. sealed class Placement extends AnyRef

    Permalink
  9. final 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 DatePickerOptions extends HasModelPropertyCreator[DatePickerOptions] with Serializable

    Permalink
  6. object DayOfWeek

    Permalink
  7. object DefaultDatePickerIcon extends AbstractValueEnumCompanion[DefaultDatePickerIcon] with Serializable

    Permalink
  8. object DefaultDatePickerIcons extends DatePickerIcons

    Permalink
  9. object Placement

    Permalink
  10. object ViewMode

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

    Permalink

    Creates a date picker component.

    Creates a date picker component. More: Bootstrap 4 Datepicker Docs.

    date

    A date selected in the input.

    options

    A date picker's behaviour options.

    componentId

    The DOM element id.

    returns

    A UdashDatePicker component, call render to create a DOM element representing this button.

  12. final def asInstanceOf[T0]: T0

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

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

    Permalink

    Combines two date pickers into a date range selector.

    Combines two date pickers into a date range selector. More: Bootstrap 4 Datepicker Docs.

    fromOptions

    Options of the from picker.

    toOptions

    Options of the to picker.

    returns

    Registration cancelling the range selector.

  15. def deregisterMutationCallbacks(pickerNode: Node): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  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
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. def registerMutationCallbacks(pickerNode: Node, setupCallback: () ⇒ Unit, detachCallback: () ⇒ Unit): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  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( ... )
  30. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped