This application may be used as a starting point for creating new applications in STEMCstudio. The application entrypoint is index.html. A README.md file is provided for documentation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "Broken" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react' | |
import { Component } from 'react' | |
import { Square } from './Square' | |
interface BoardProps { | |
} | |
interface BoardSpec { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react' | |
import { Component } from 'react' | |
import { JsxGraph, JsxGraphStep } from './JsxGraph' | |
import { steps } from './steps' | |
interface AppProps { | |
greeting: string | |
} | |
interface AppSpec { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
let scoops = 1; | |
let flavours = ['Mint choc chip']; | |
let menu = [ | |
'Cookies and cream', | |
'Mint choc chip', | |
'Raspberry ripple' | |
]; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
let name = ''; | |
</script> | |
<input bind:value={name} placeholder="enter your name"> | |
<p>Hello, {name || 'Stranger'}!</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
import Outer from './Outer.svelte'; | |
function handleMessage(event) { | |
alert(event.detail.text); | |
} | |
</script> | |
<Outer on:message={handleMessage}/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
import { onMount, } from 'svelte'; | |
let time = new Date(); | |
// these automatically update when `time` | |
// changes, because of the `$:` prefix | |
$: hours = time.getHours(); | |
$: minutes = time.getMinutes(); | |
$: seconds = time.getSeconds(); |
NewerOlder