mdl-ext icon indicating copy to clipboard operation
mdl-ext copied to clipboard

Dialaog manager

Open leifoolsen opened this issue 10 years ago • 1 comments

Create a dialog manager .- to manage dialogs

leifoolsen avatar Mar 27 '16 13:03 leifoolsen

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

leifoolsen avatar Apr 21 '16 19:04 leifoolsen