Externally controlling vue-cal

Hi all,

I’m using a custom calendar component based on the WeWeb vue-cal implementation.

I would like to be able to control the calendar view using external components like buttons. This is covered in the vue-cal documentation here: Vue Cal

However I have no idea how to go about making that work within WeWeb.

Can anyone point me in a helpful direction?

Thank you!
GD

Fork it and expose the calendar actions is probably the only way.

You can override almost all the configuration using the HTML attributes section, use the Vue Cal reference documentation, you can, for example, change with an external button the Active View just adding an HTML attribute (see item 5):

1 Like

Thank you, that’s exactly what I was looking for!

Works perfectly for activeView, but what about triggering methods like previous() and next()?