cpr.controls.OpenDialogOption

dialog options
Hierarchy

Index

Properties
Name Type Description
autoFocusedTarget AutoFocusedTargetType Set auto focus when opening dialog
bottom String Position value from bottom reference
escKeySupport Boolean A function that closes when the esc key is pressed
headerClose Boolean Show a close button in the header.
headerMax Boolean Shows a maximize button in the header.
headerMin Boolean Show a collapse button in the header.
headerMovable Boolean Sets the movement behavior when the header is dragged.
headerVisible Boolean Display the header.
height String Height
initValue Object The value is set in dialog.initValue.
initializer (dialog: cpr.controls.Dialog)=>Void Dialog initialization handler
left String Position value from left reference
modal Boolean If true, the window cannot work.
resizable Boolean Set whether or not to resize.
restoreFocus Boolean Sets whether to restore the previous focus when the dialog is closed.
right String Position value from right reference
style {[name:string]: String} Set the style.
top String Position value from top reference
width String width

Properties

autoFocusedTarget
declaring type AppOpenDialogOption
type AutoFocusedTargetType
Set auto focus when opening dialog
bottom
declaring type DialogProperties
type String
Position value from bottom reference
escKeySupport
declaring type AppOpenDialogOption
type Boolean
A function that closes when the esc key is pressed
headerClose
declaring type AppOpenDialogOption
type Boolean
Show a close button in the header.
headerMax
declaring type AppOpenDialogOption
type Boolean
Shows a maximize button in the header.
headerMin
declaring type AppOpenDialogOption
type Boolean
Show a collapse button in the header.
headerMovable
declaring type AppOpenDialogOption
type Boolean
Sets the movement behavior when the header is dragged.
headerVisible
declaring type AppOpenDialogOption
type Boolean
Display the header.
height
declaring type DialogProperties
type String
Height
initValue
type Object
The value is set in dialog.initValue.
initializer
type (dialog: cpr.controls.Dialog)=>Void
Dialog initialization handler
left
declaring type DialogProperties
type String
Position value from left reference
modal
declaring type DialogProperties
type Boolean
If true, the window cannot work. If false, the window can work.
resizable
declaring type AppOpenDialogOption
type Boolean
Set whether or not to resize.
restoreFocus
declaring type AppOpenDialogOption
type Boolean
Sets whether to restore the previous focus when the dialog is closed.
right
declaring type DialogProperties
type String
Position value from right reference
style
declaring type AppOpenDialogOption
type {[name:string]: String}
Set the style.
top
declaring type DialogProperties
type String
Position value from top reference
width
declaring type DialogProperties
type String
width