The Gallery is deprecated. No new Gallery components may be submitted, and modifying existing components is disabled. For more information please read the Gallery Deprecation blog post. This is a static snapshot of the Gallery for archive purposes.
Accessible yui3 panel extended module
YUI().use('gallery-mjr-dialog', function(Y) {
var buttonsCfg = {
footer: [
{
name : 'cancel',
label : 'Cancel',
action: 'hide'
},
{
name : 'proceed',
label : 'Send',
action : 'hide'
}
],
header: [
{
name : 'cancel',
label : 'Cancel',
action: 'hide'
},
{
name : 'proceed',
label : 'Send',
action : 'hide'
}
]
};
var panel = new Y.GALLERY.MJR.Dialog({
srcNode : '#yui-panel-example',
buttons : buttonsCfg
});
});
All code on this site is licensed under the BSD License unless stated otherwise.