@speckle/objectloader
Version:
Simple API helper to stream in objects from the Speckle Server.
22 lines (18 loc) • 592 B
HTML
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>Object Loader Test</title>
</head>
<body>
<h1>This is a test.</h1>
<p>All the magic is in the console.</p>
<p>
To ensure this example runs correctly, please serve this file from a local http
server - if you manually open the file in a browser, it might not work.
</p>
<button type="button" onclick="loadData()">PRESS ME</button>
</body>
<script src="./script.js" type="module"></script>
</html>