Eg.
@cal_widget = AddToCalendar::Widget.new(event_attributes)
# view.html.erb
<%= @cal_widget.button %> # or link or whatever
design one first inspired eg. https://www.addevent.com/products/add-to-calendar-button
but think about how to handle different styling etc.
Have pre-made versions for bootstrap, bulma etc?
Eg.
design one first inspired eg. https://www.addevent.com/products/add-to-calendar-button
but think about how to handle different styling etc.
Have pre-made versions for bootstrap, bulma etc?