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

Dialaog manager #14

Open
leifoolsen opened this issue Mar 27, 2016 · 1 comment
Open

Dialaog manager #14

leifoolsen opened this issue Mar 27, 2016 · 1 comment

Comments

@leifoolsen
Copy link
Owner

Create a dialog manager .- to manage dialogs

@leifoolsen
Copy link
Owner Author

A dialog manager should:

  • make the dialog a child of the html body element, if it is not already a child
  • use the Material Design Lite Card component to provide a layout for the dialog
  • if a dialog with same identity already exist, then the manager should update the dialog, not create a new
  • check if a dialog polyfill is required
  • attach click event listeners to button and anchor elements, or elements having a 'data-action' attribute
  • emit a custom event when one of the 'clickable' elements is clicked

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

No branches or pull requests

1 participant