Module

Flatpickr

Package
purescript-flatpickr
Repository
themoritz/purescript-flatpickr

#flatpickr Source

flatpickr :: forall eff. HTMLElement -> Config eff -> FlatEff eff Flatpickr

#changeMonth Source

changeMonth :: forall eff. Int -> Boolean -> Flatpickr -> FlatEff eff Unit

#clear Source

clear :: forall eff. Flatpickr -> FlatEff eff Unit

#close Source

close :: forall eff. Flatpickr -> FlatEff eff Unit

#destroy Source

destroy :: forall eff. Flatpickr -> FlatEff eff Unit

#formatDate Source

formatDate :: forall eff. String -> JSDate -> Flatpickr -> FlatEff eff String

#jumpToDate Source

jumpToDate :: forall eff. DateType -> Flatpickr -> FlatEff eff String

#open Source

open :: forall eff. Flatpickr -> FlatEff eff Unit

#parseDate Source

parseDate :: forall eff. String -> Flatpickr -> FlatEff eff JSDate

#redraw Source

redraw :: forall eff. Flatpickr -> FlatEff eff Unit

#set Source

set :: forall eff. SetOption eff -> Flatpickr -> FlatEff eff Unit

Does not seem to work (due to bug in flatpickr?) currently. Use Config instead if possible.

#setDate Source

setDate :: forall eff. DateType -> Boolean -> Flatpickr -> FlatEff eff String

#toggle Source

toggle :: forall eff. Flatpickr -> FlatEff eff Unit

#onChange Source

onChange :: forall eff. Flatpickr -> Hook eff -> FlatEff eff Unit

#onOpen Source

onOpen :: forall eff. Flatpickr -> Hook eff -> FlatEff eff Unit

#onClose Source

onClose :: forall eff. Flatpickr -> Hook eff -> FlatEff eff Unit

#onMonthChange Source

onMonthChange :: forall eff. Flatpickr -> Hook eff -> FlatEff eff Unit

#onYearChange Source

onYearChange :: forall eff. Flatpickr -> Hook eff -> FlatEff eff Unit

#onReady Source

onReady :: forall eff. Flatpickr -> Hook eff -> FlatEff eff Unit

#onValueUpdate Source

onValueUpdate :: forall eff. Flatpickr -> Hook eff -> FlatEff eff Unit

#onDayCreate Source

onDayCreate :: forall eff. Flatpickr -> Hook eff -> FlatEff eff Unit