* zin: add condensed option to modalDialog.

This commit is contained in:
sunhao
2023-07-18 14:03:32 +08:00
parent 4889ce4994
commit fbe9b8d8d2
+2 -1
View File
@@ -8,6 +8,7 @@ class modalDialog extends wg
'title?: string',
'titleClass?: string',
'size?: string|number',
'condensed?: bool',
'itemID?: int',
'headerClass?: string',
'headerProps?: array',
@@ -105,7 +106,7 @@ class modalDialog extends wg
{
return div
(
setClass('modal-dialog'),
setClass('modal-dialog', $this->prop('condensed') ? 'modal-condensed' : ''),
set($this->getRestProps()),
$this->setSize(),
div