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

One Modal window to rule em all #80

Open
atherdon opened this issue Nov 9, 2018 · 0 comments
Open

One Modal window to rule em all #80

atherdon opened this issue Nov 9, 2018 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@atherdon
Copy link
Member

atherdon commented Nov 9, 2018

Right now each event has it's own generated and hidden modal that appears at our homepage.
And when you click on link(related to event A) you see an opened ModalA.

I want to have one modal only. And when you click on link,

  • you read an id of that element
  • you pass that id where it need to be passed
  • you get a data that you need
  • display that data in blank modal

So modal will have a 2 states: opened(with data from some of recipes), closed(without data, because no id was passed to constructor)

@atherdon atherdon added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Nov 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant