Skip to content
This repository has been archived by the owner. It is now read-only.

How to know the day clicked in the slide box ? #369

Closed
asicfr opened this Issue Jun 17, 2016 · 5 comments

Comments

Projects
None yet
2 participants
@asicfr
Copy link

asicfr commented Jun 17, 2016

I want to know which day is clicked in the slide box to disable / hide some data if the day i in the past

0.20.2

I tried to use dayClicked to add more data but not found onTimespanClick function.
Is there any way to do that ?

Thx for your help.

@mattlewis92

This comment has been minimized.

Copy link
Owner

mattlewis92 commented Jun 17, 2016

Sorry I don't quite follow you, would you mind explaining a bit more, maybe with a screenshot or a plunker?

@asicfr

This comment has been minimized.

Copy link
Author

asicfr commented Jun 18, 2016

Sorry, in the template of slide box (calendarSlideBox.html),
i want to know the clicked day (dayClicked -> onTimespanClick) .

@asicfr

This comment has been minimized.

Copy link
Author

asicfr commented Jun 22, 2016

When the user click on a day (1st of august for example), the slide box present all events of that day.
Is it possible in the slide box controller to get that day, the day selected by the user (1st of august for example) ?

@mattlewis92

This comment has been minimized.

Copy link
Owner

mattlewis92 commented Jun 26, 2016

Sorry about the late reply, the next release will have vm.cell available in the slide box scope which will contain the current month or day cell with the info you need in it

@asicfr

This comment has been minimized.

Copy link
Author

asicfr commented Jun 27, 2016

Ok, great, thx.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.