You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
WebCAD/src/index.tsx

27 lines
628 B

import * as React from "react";
7 years ago
import * as ReactDOM from 'react-dom';
import '../node_modules/golden-layout/src/css/goldenlayout-base.css';
import '../node_modules/golden-layout/src/css/goldenlayout-dark-theme.css';
import { LoadLayoutNotHead } from './UI/LayoutDemo/test';
import "./UI/Css/style.less"
function CreateRootElement()
7 years ago
{
var root = document.createElement('div');
root.id = "app"
7 years ago
root.style.height = "100%";
document.body.appendChild(root);
}
7 years ago
window.onload = function ()
{
CreateRootElement();
7 years ago
document.onselectstart = () =>
{
return false;
}
7 years ago
LoadLayoutNotHead();
7 years ago
};
7 years ago