export var defineResponsibleWidth = function (width) {
    if (typeof width === "number") {
        return "width: " + Math.floor(width) + "px;";
    }
    if (typeof width === "string" && width.length > 0) {
        return Number(width)
            ? "width: " + parseInt(width, 10) + "px;"
            : "width: " + width + ";";
    }
    return "width: 100%;";
};
export var defineResponsibleHeight = function (height) {
    if (typeof height === "number") {
        return "height: " + Math.floor(height) + "px;";
    }
    if (typeof height === "string" && height.length > 0) {
        return Number(height)
            ? "height: " + parseInt(height, 10) + "px;"
            : "height: " + height + ";";
    }
    return null;
};
