Files
HMDesign/examples/org-chart/classic.html
T

26 lines
1.2 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 · 직접 열기 예제</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 · 직접 열기 예제</h1>
<p>가상 JSON을 Classic 번들로 실행합니다. file://에서 외부 JSON Fetch는 사용하지 않습니다.</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 src="./assets/orgchart.browser.js"></script><script src="./fixtures.js"></script>
<script src="./app-classic.js"></script>
<script>startDemo(window.HMOrgChart, window.OrgChartFixtures);</script>
</body>
</html>