29 lines
1.1 KiB
HTML
29 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="ko">
|
|
<head>
|
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>HM OrgChart · Vanilla JSON 예제</title>
|
|
<link rel="icon" href="data:,">
|
|
<link rel="stylesheet" href="./assets/hm-theme.css"><link rel="stylesheet" href="./demo.css">
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<h1>OrgChart Core · JSON 예제</h1>
|
|
<p>가상 조직·직원 데이터입니다. 표시된 원본 직원 수는 업무상 재직 총원과 구분됩니다.</p>
|
|
<div class="demo-controls" aria-label="Core 실행 예제">
|
|
<button id="reload" type="button">JSON 재로드</button>
|
|
<button id="update" type="button">직원 이동·추가 반영</button>
|
|
<button id="destroy" type="button">인스턴스 정리</button>
|
|
<button id="recreate" type="button">새 인스턴스 생성</button>
|
|
</div>
|
|
<p id="status" role="status" aria-live="polite">준비 중</p>
|
|
<div id="chart-host"></div>
|
|
</main>
|
|
<script type="module">
|
|
import * as HMOrgChart from './assets/index.js';
|
|
import { startDemo } from './app.js';
|
|
startDemo(HMOrgChart);
|
|
</script>
|
|
</body>
|
|
</html>
|