golden-layout
Version:
A multi-screen javascript Layout manager
44 lines • 1.37 kB
JavaScript
/** @internal */
export var WidthOrHeightPropertyName;
(function (WidthOrHeightPropertyName) {
WidthOrHeightPropertyName.width = 'width';
WidthOrHeightPropertyName.height = 'height';
})(WidthOrHeightPropertyName || (WidthOrHeightPropertyName = {}));
/** @public */
export var Side;
(function (Side) {
Side.top = 'top';
Side.left = 'left';
Side.right = 'right';
Side.bottom = 'bottom';
})(Side || (Side = {}));
/** @public */
export var JsonValue;
(function (JsonValue) {
function isJson(value) {
return isJsonObject(value);
}
JsonValue.isJson = isJson;
// eslint-disable-next-line @typescript-eslint/ban-types
function isJsonObject(value) {
return !Array.isArray(value) && value !== null && typeof value === 'object';
}
JsonValue.isJsonObject = isJsonObject;
})(JsonValue || (JsonValue = {}));
/** @public */
export var ItemType;
(function (ItemType) {
ItemType.ground = 'ground';
ItemType.row = 'row';
ItemType.column = 'column';
ItemType.stack = 'stack';
ItemType.component = 'component';
})(ItemType || (ItemType = {}));
/** @public */
export var ResponsiveMode;
(function (ResponsiveMode) {
ResponsiveMode.none = 'none';
ResponsiveMode.always = 'always';
ResponsiveMode.onload = 'onload';
})(ResponsiveMode || (ResponsiveMode = {}));
//# sourceMappingURL=types.js.map