1.0.5 • Published 5 years ago

ionic-horizontal-calendar v1.0.5

Weekly downloads
29
License
-
Repository
-
Last release
5 years ago

ionic-horizontal-calendar

Customizable calendar with touchable scrolling and arrow to render the next days

Github Repository https://github.com/daniele92vp/ionic-horizontal-calendar

Installation

Usage, input and output available

The following example show how to use the ionic-horizontal-calendar
<ionic-horizontal-calendar 
  locale="de" 
  [minDate]="minDate"
  class="calendar"
  [firstDayAutoSelected]="true"
  displayMode="daily"
  >
    <ion-label header #header>
        Calendar Demo
    </ion-label>
</ionic-horizontal-calendar>
Following are the Input properties available
InputTypeDefault valueDescription
dayCountnumber7Number of display displayed per row
daysToExcludefunction() => {...}Days to exclude from selection
minDateany-Minimum date to display
maxDateany-Maximum date to display
scrollSensivitynumber1.0Sensibility of scrolling
localestring-Zone to use as locale
firstDayAutoSelectedbooleanfalseAutoselection of day for today
displayModestringdailyRender day by day or weekly
Following are the Output properties available
OutputTypeDescription
nextDayClickedfunctionEmitted when to left or when right arrow clicked
prevDayClickedfunctionEmitted when to right or when left arrow clicked
daySelectedfunctionEmitted when a day is selected

Customization

The following css properties are customizable, simple pass a class and inside of it customize what you prefer