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

Programmatically toggle the event list (the one that slides out in the month view) #199

Closed
worldspawn opened this Issue Nov 5, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@worldspawn
Copy link

worldspawn commented Nov 5, 2015

Hi,

I made some event seeking button (first, previous, next, last) that seek through the sorted event list and set the current day to the event it finds. This moves the view to the correct month (sweet!) if needed. But I would also like to close any open sliders and have it expand the slider on the day I have just set.

How might I do that? Note this is not happening as part of any calendar triggered event.

Also would like to change the slidebox template. I dont want the time appearing, is that template overridable?

@mattlewis92

This comment has been minimized.

Copy link
Owner

mattlewis92 commented Nov 7, 2015

In 0.16.x I've added a new cell-is-open attribute, which you can use to control if the slidebox is open or not (If you set it to true it will now by default have the behaviour you expect of opening the same day of the next month when going between them)

@mattlewis92

This comment has been minimized.

Copy link
Owner

mattlewis92 commented Nov 7, 2015

mattlewis92 pushed a commit that referenced this issue Nov 7, 2015

Matt Lewis
feat(cellIsOpen): Add a 2 way bound attribute to control if the year …
…and month view slide box is ope

Closes #199

BREAKING CHANGE: auto-open has been renamed to cell-is-open. It is now 2 way bound if the slidebox is open or not so
you can programmatically control the visibility of the slidebox.
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.