Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Widget class to produce button/widget(s) to embed directly in views #6

Open
jaredlt opened this issue May 7, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@jaredlt
Copy link
Owner

jaredlt commented May 7, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant