Created
August 26, 2013 20:17
-
-
Save eduardolundgren/6346138 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YUI().use( | |
'aui-modal', | |
function(Y) { | |
var modal1 = new Y.Modal( | |
{ | |
bodyContent: '<button id="inModalButton">foo</button>', | |
headerContent: 'Modal header', | |
render: '#modal', | |
} | |
).render(); | |
var modal2 = new Y.Modal( | |
{ | |
headerContent: 'Modal header', | |
toolbars: { | |
body: [ | |
{ label: 'Body' } | |
], | |
footer: [ | |
{ icon: 'Footer' } | |
] | |
}, | |
render: '#modal', | |
} | |
).render(); | |
} | |
); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment