Skip to content
nsnayp13 edited this page Mar 4, 2020 · 2 revisions

Welcome to the angular-datepicker2 wiki!

How install

run npm i angular-datepicker2

How use

First you need import AngularDatepicker2Module and set in imports in your app.module.ts Then define <angular-datepicker2></angular-datepicker2> in template of your component. Thats all.

Props

  • shownDate : Date
  • selectMode : SelectMode
  • weekends : number[]
  • selectedDates : Date[]
  • weekStart : number
  • viewMode : ViewMode | number
  • vertical : boolean
  • suggest : Suggest

Events

  • onDayClick : (event)
Clone this wiki locally