0.3.5 • Published 4 years ago

@simplr-wc/date-input v0.3.5

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Simplr Date Input

Usage

Import
import '@simplr-wc/date-input';
Use
<simplr-date-input label="Label" icon="cancel"></simplr-date-input>

simplr-date-input

Properties

PropertyAttributeTypeDefault
allowInputallowInputbooleanfalse
altFormataltFormatstring"F j, Y"
altInputaltInputbooleanfalse
ariaDateFormatariaDateFormatstring"F j, Y"
clickOpensclickOpensbooleantrue
dateFormatdateFormatstring"d.m.Y"
defaultHourdefaultHournumber12
defaultMinutedefaultMinutenumber0
disabledisablearray[]
disableMobiledisableMobilebooleanfalse
enableenablearray[]
enableSecondsenableSecondsbooleanfalse
enableTimeenableTimebooleanfalse
flatPickrInstanceflatPickrInstanceobjectnull
formatDateFnformatDateFn
hourIncrementnumber1
hoursIncrementhoursIncrementnumber
inlineinlinebooleanfalse
maxDatemaxDatestring
minDateminDatestring
minuteIncrementminuteIncrementnumber5
modemodestring"single"
nextArrownextArrowstring">"
noCalendarnoCalendarbooleanfalse
onChangeonChange
onCloseonClose
onMonthChangeonMonthChange
onOpenonOpen
onReadyonReady
onValueUpdateonValueUpdate
onYearChangeonYearChange
parseDateFnparseDateFn
positionpositionstring"auto"
prevArrowprevArrowstring"<"
shorthandCurrentMonthshorthandCurrentMonthbooleanfalse
showMonthsshowMonthsnumber1
staticstaticbooleanfalse
themethemestring"material_blue"
time_24hrtime_24hrbooleantrue
valuestring""
weekNumbersweekNumbersbooleanfalse
wrapwrapbooleanfalse

Methods

MethodType
changeMonth(monthNum: any, isOffset: any): void
clear(): void
close(): void
destroy(): void
formatDate(dateObj: any, formatStr: any): any
getCurrentMonth(): any
getCurrentYear(): any
getFlatpickrInstance(): any
getSelectedDates(): any
getValue(): any
jumpToDate(date: any, triggerChange: any): void
open(): void
parseDate(dateStr: any, dateFormat: any): any
redraw(): void
set(option: any, value: any): void
setDate(date: any, triggerChange: any, dateFormat: any): void
setValue(value: any): void
toggle(): void
0.3.5

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago