Skip to main content

Variable: CONSTANTS

const CONSTANTS: {
DEFAULTS: {
WINDOW: {
height: 800;
minHeight: 600;
minWidth: 800;
width: 1200;
};
};
FILES: {
WINDOW_STATE: "window-state.json";
};
PATHS: {
HTML: {
INDEX: "index.html";
};
ICONS: {
FAVICON: "icons/favicon.ico";
};
PRELOAD: "preload.js";
};
WEB_PREFERENCES: {
contextIsolation: true;
nodeIntegration: false;
sandbox: true;
};
};

Defined in: windowStateUtils.ts:55

Type Declaration​

DEFAULTS​

readonly DEFAULTS: {
WINDOW: {
height: 800;
minHeight: 600;
minWidth: 800;
width: 1200;
};
};

DEFAULTS.WINDOW​

readonly WINDOW: {
height: 800;
minHeight: 600;
minWidth: 800;
width: 1200;
};

DEFAULTS.WINDOW.height​

readonly height: 800 = 800;

DEFAULTS.WINDOW.minHeight​

readonly minHeight: 600 = 600;

DEFAULTS.WINDOW.minWidth​

readonly minWidth: 800 = 800;

DEFAULTS.WINDOW.width​

readonly width: 1200 = 1200;

FILES​

readonly FILES: {
WINDOW_STATE: "window-state.json";
};

FILES.WINDOW_STATE​

readonly WINDOW_STATE: "window-state.json" = "window-state.json";

PATHS​

readonly PATHS: {
HTML: {
INDEX: "index.html";
};
ICONS: {
FAVICON: "icons/favicon.ico";
};
PRELOAD: "preload.js";
};

PATHS.HTML​

readonly HTML: {
INDEX: "index.html";
};

PATHS.HTML.INDEX​

readonly INDEX: "index.html" = "index.html";

PATHS.ICONS​

readonly ICONS: {
FAVICON: "icons/favicon.ico";
};

PATHS.ICONS.FAVICON​

readonly FAVICON: "icons/favicon.ico" = "icons/favicon.ico";

PATHS.PRELOAD​

readonly PRELOAD: "preload.js" = "preload.js";

WEB_PREFERENCES​

readonly WEB_PREFERENCES: {
contextIsolation: true;
nodeIntegration: false;
sandbox: true;
};

WEB_PREFERENCES.contextIsolation​

readonly contextIsolation: true = true;

WEB_PREFERENCES.nodeIntegration​

readonly nodeIntegration: false = false;

WEB_PREFERENCES.sandbox​

readonly sandbox: true = true;