Lovely.IO

The Next Generation of Front-Side

Package Info

Links
Size
1.35 KB (gzipped)
Tags
UI, dialog
Author
Nikolay Nemshilov
License
MIT
Versions
CDN Links
Dependencies

Dialog

This module provides the standard UI dialog solution

Basic Usage

Hook up the Dialog in any standard way and use it as a class

Lovely(['dialog-1.0.0'], function(Dialog) {
  new Dialog(title: "Hello", html: "Hello world!").show();
});

Available Options

Events List

The Dialog units fire the following events

API reference

The Dialog unit is inherited from the dom.Element class and has all the standard methods. The only difference is that all the content changing methods like Element#append Element#update, Element#load are redirected to the dialog body.

Also Dialog units have additional bidirectional method #title to work with the dialog's header caption.

Copyright And License

This project is released under the terms of the MIT license

Copyright (C) 2012 Nikolay Nemshilov