mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
19 lines
504 B
HTML
19 lines
504 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>Pico Example</title>
|
|
<!-- Load the pico Javascript client, always automatically available at /pico.js -->
|
|
<script src="/pico.js"></script>
|
|
<!-- Load our example module -->
|
|
<script src="/example.js"></script>
|
|
</head>
|
|
<body>
|
|
<p id="message"></p>
|
|
<script>
|
|
var example = pico.importModule('example')
|
|
example.hello("Fergal").then(function(response){
|
|
document.getElementById('message').innerHTML = response;
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|