Skip to main content

CMPWindowOptions

Electron APIs / app / CMPWindowOptions

Properties

PropertyTypeDescription
backgroundColor?stringControl the CMP preloader background window
center?booleanShow window in the center of the screen. Default is true.
cmpURL?stringOverrides the path of the cmp html
height?numberControl the CMP Window height
language?stringCmp html language
modal?booleanWhether this is a modal window. This only works when the window is a child window. Default is false.
parent?anySpecify parent window. Default is null.
preLoaderSpinnerColor?stringControl the CMP preloader color (spinner)
tab?"purposes" | "features" | "vendors"Select open tab. The default is 'purposes'
width?numberControl the CMP Window width
x?numberControl the CMP Window left pos
y?numberControl the CMP Window top pos