Our powerful JS Calendar component


Post by jeff.wang »

Hi,

How to align the left of events in agenda mode like below image, and whether the event is continues or allDay:

Image

Thank you.


Post by Animal »

It's very carefully designed like that. To show that the arrow means it extends further into the past.

But remember, you are in control of the CSS. You can always change it.


Post by Animal »

In fact there is a setting in AgendaView:

alignIconOfStartsBeforeEvents : false

will configure it the way you want. I'll make it a public property in the next version.


Post by Animal »

Actually, that name is a bit crazy. So that may change in the next version if I make it public. It was only for internal use, so being a crazy name didn't matter. I'm trying to think of a more meaningful and terse way of saying what this does.

Basically, it shifts event bars which are continued from the past leftwards by var(--arrow-width)


Post by Animal »

I added this config:

Screenshot 2022-08-10 at 14.44.42.png
Screenshot 2022-08-10 at 14.44.42.png (59.48 KiB) Viewed 442 times

Here it is in action:

offsetStartsBeforeEvents.gif
offsetStartsBeforeEvents.gif (452.25 KiB) Viewed 442 times

This should get into the next version.


Post by jeff.wang »

Great, It is effect.

Thank you.


Post Reply