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

feat: multiple dialog, drag n' drop, new style #48

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from

Commits on Jul 11, 2019

  1. feat: multiple dialog, drag n' drop, new style

    Adding:
    
    - Multiple modal dialogs;
    - Drag and drop;
    - Built-in style;
    - Possibility to use a function as interface for showModalDialog (see bellow).
    
    ```js
    function showMaximizedDialog(url, args) {
      // showModalDialog.interface
      var WindowParams = [
        'dialogLeft:0',
        'dialogTop:0',
        'dialogHeight:' + screen.availHeight + 'px',
        'dialogWidth:' + screen.availWidth + 'px'
      ].join(';');
    
      return window.showModalDialog(url, args, WindowParams);
    ```
    macmessa committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    ce0046b View commit details
    Browse the repository at this point in the history
  2. fix: call showModalDialog inside another function

    Prevent showModalDialog from breaking when used inside another function.
    
    Reference: niutech#41
    MARCO AURELIO MESSA authored and MARCO AURELIO MESSA committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    54c46f2 View commit details
    Browse the repository at this point in the history