twinssbc / Ionic-Calendar

A calendar directive for Ionic framework
http://twinssbc.github.io/Ionic-Calendar/demo
MIT License
159 stars 73 forks source link

Different color by event #92

Closed ghadeer-rahhal closed 7 years ago

ghadeer-rahhal commented 8 years ago

Hey. Is it possible to change the color of the event based on an event property?

Thanks ~Ghadeer

twinssbc commented 8 years ago

@ghadeerrahhal It's possible. You can pass in your own template which uses some event property. You can get more detail from the View Customisation Options section in README.

ghadeer-rahhal commented 8 years ago

Fantastic, thank you!

gsaikrishna32 commented 7 years ago

when i am installing the plugin it is displaying errors like 'typings install'

twinssbc commented 7 years ago

@gsaikrishna32 Could you open a separate issue instead of commenting under existing issue? You need to run below command to install typings.

npm install -g typings
shalini-raghu commented 6 years ago

hi how to change the background color of past days from today in calendar

twinssbc commented 6 years ago

@shalini-raghu Do you want to disable the past days? If so, you could use isDateDisabled callback. If you just want to change the background color without disabling the click event, you could use the monthviewDisplayEventTemplateUrl option. You could get more details in README.