# new AashModalDialog(props)
Parameters:
Name | Type | Description |
---|---|---|
props |
Object
|
the properties |
id |
string
|
the dialog's id |
title |
string
|
the dialog's title |
showCancel |
boolean
|
whether to show a cancel button |
content |
string
|
the dialog's content |
contentClasses |
Array.string
|
classes to apply to the content |
applyLabel |
string
|
the label for the apply button; defaults to empty |
okayLabel |
string
|
the label for the okay (confirm) button; defaults to "OK" |
onAction |
function
|
the function to invoke on action |
submitForm |
string
|
the id of a form |