Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to trigger the Button event #73

Open
MohamedSahir opened this issue Oct 28, 2018 · 1 comment
Open

How to trigger the Button event #73

MohamedSahir opened this issue Oct 28, 2018 · 1 comment

Comments

@MohamedSahir
Copy link

Month view is not displaying whats wrong with below implementationa and is it possible to add month wise event like dayclick event.I have choose multiple date and add event for multiple days, is it possible by this library

Like DayEvent How to trigger a event for month,prev,next,week and day button

I need to do a service call to fetch a data when user click the month view.as per current implemention of full calander api , there is event click and dayclick , need a event for all button click to fetch server data.
here is the demo.

https://stackblitz.com/edit/github-inz3zg?file=src/styles.css

@talismandev
Copy link

Hi!
There are 2 ways to do it:

  1. use custom prev/next button definitions in calendar options and bind click event to it.
  2. use rangeChange in ng2-fullcalendar event like this:
    <ng2-fullcalendar (rangeChange)="rangeChange($event)" ... >

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants