Skip to content

oRRs/mdl-jquery-modal-dialog

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Material Design Light jQuery Modal Dialog

Basic modal dialogs using MDL and jQuery

Dependencies

Usage / Configuration

showDialog({
    id: 'dialog-id',
    title: 'Title',
    text: 'Text',
    negative: {
        id: 'cancel-button',
        title: 'Cancel',
        onClick: function() { ... }
    },
    positive: {
        id: 'ok-button',
        title: 'OK',
        onClick: function() { ... }
    },
    cancelable: true,
    contentStyle: {'max-width': '500px'},
    onLoaded: function() { ... },
    onHidden: function() { ... }
});

Most parameters are optional.

Demo

License

© Oliver Rennies, 2015. Licensed under an MIT license.

About

Modal dialogs using MDL and jQuery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published