File

projects/ui-kit-lib/src/lib/v2/datepicker/date-range-picker.ts

Implements

MDDatepickerActionsOwner

Metadata

Index

Properties
Methods
Inputs
Outputs
Accessors

Inputs

disabled
Type : boolean
rangeSelectionStrategy
Type : MDDateRangeSelectionStrategy<D> | null
Default value : null
startAt
Type : D | null
Default value : null
startView
Type : MDDatepickerView
Default value : 'month'

Outputs

closed
Type : EventEmitter
opened
Type : EventEmitter
openedChange
Type : EventEmitter
selectedChange
Type : EventEmitter

Methods

applyPendingSelection
applyPendingSelection()
Returns : void
cancelPendingSelection
cancelPendingSelection()
Returns : void
clearPreview
clearPreview()
Returns : void
close
close()
Returns : void
formatAccessibleDate
formatAccessibleDate(date: Date)
Parameters :
Name Type Optional
date Date No
Returns : string
handleKeydown
handleKeydown(event: KeyboardEvent)
Parameters :
Name Type Optional
event KeyboardEvent No
Returns : void
nextMonth
nextMonth()
Returns : void
open
open()
Returns : void
preview
preview(day: RangeCalendarDay)
Parameters :
Name Type Optional
day RangeCalendarDay No
Returns : void
previousMonth
previousMonth()
Returns : void
registerInput
registerInput(input: MDDateRangeInput<D>)
Parameters :
Name Type Optional
input MDDateRangeInput<D> No
Returns : void
select
select(day: RangeCalendarDay)
Parameters :
Name Type Optional
day RangeCalendarDay No
Returns : void
toggle
toggle()
Returns : void

Properties

Optional actions
Type : MDDatepickerActions
Decorators :
@ContentChild(MDDatepickerActions)
opened
Type : unknown
Default value : false
Readonly positions
Type : ConnectedPosition[]
Default value : [ { originX: 'start', originY: 'bottom', overlayX: 'start', overlayY: 'top', offsetY: 8 }, { originX: 'start', originY: 'top', overlayX: 'start', overlayY: 'bottom', offsetY: -8 }, ]
Readonly weekdays
Type : unknown
Default value : createWeekdays()

Accessors

disabled
getdisabled()
setdisabled(value: boolean)
Parameters :
Name Type Optional
value boolean No
Returns : void
origin
getorigin()
monthLabel
getmonthLabel()
days
getdays()

results matching ""

    No results matching ""