1.7.2 • Published 5 months ago

@aamasri/dialog v1.7.2

Weekly downloads
18
License
MIT
Repository
github
Last release
5 months ago

  1. Download & copy this package's "dist" folder into your web server's public folder eg. public/js/dist/*.
  2. Rename "dist" to "dialog" eg. public/js/dialog
  3. Load the dialog script at the end of your web page (before the closing body tag) like this:
<body>
    ...

    <script src="/js/dialog/dialog.js"></script>
</body>
</html>
  1. When the browser loads, dialog will be attached to the browser's global window object. Use it anywhere in your scripts like this:

<button>Target</button>

<script>
    dialog.open();          // Display the dialog cheat sheet

    ...

    dialog.closeLast();     // close the on-top dialog
    
    ...
    
    dialog.closeAll();

</script>

Then import and use it in your project's ES6 modules:

function helloWorld() { dialog.open({ title: 'Greetings', source: 'Hello World' }); }

Dialog supports npm under the name @aamasri/dialog.

Publishing Updates

1.7.2

5 months ago

1.7.0

5 months ago

1.6.6

6 months ago

1.6.4

8 months ago

1.6.5

8 months ago

1.6.3

1 year ago

1.6.2

1 year ago

1.6.1

1 year ago

1.6.0

1 year ago

1.5.2

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.6

2 years ago

1.4.5

2 years ago

1.4.4

2 years ago

1.4.3

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.4.7

2 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.5

3 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago