AUI Liferay Popup Example
AUI Liferay Popup Example
Here is sample code, which shows popup window on click:
AUI().ready('aui-base', function(A){
A.one('#my-btn-selector').on('click',
function() {
Liferay.Util.openWindow(
{
dialog: {
//cssClass: 'aui-popup-example',
destroyOnHide: true,
height: 600,
width: 800
},
dialogIframe: {
//bodyCssClass: 'custom-css-class'
},
title: 'My Popup Title',
uri: ''
}
);
}
);
});
Enjoy 😏
Comments
Post a Comment