diff options
| author | Matthew Kosarek <mattkae@protonmail.com> | 2021-03-22 20:54:51 -0400 | 
|---|---|---|
| committer | Matthew Kosarek <mattkae@protonmail.com> | 2021-03-22 20:54:51 -0400 | 
| commit | c36d05d5aed2f8f7c6342b174692146e2d11c386 (patch) | |
| tree | 8e54047d7b6db7e3d21ccfad6b8c4965d42c09fa /frontend/_wasm/intro/intro.js | |
| parent | c29a911cd1a3f23f66478f205cace14487aadc56 (diff) | |
Refactored frontend, beginnings of general cpp layer, and beginning roadmap
Diffstat (limited to 'frontend/_wasm/intro/intro.js')
| -rw-r--r-- | frontend/_wasm/intro/intro.js | 19 | 
1 files changed, 19 insertions, 0 deletions
| diff --git a/frontend/_wasm/intro/intro.js b/frontend/_wasm/intro/intro.js new file mode 100644 index 0000000..37d5faf --- /dev/null +++ b/frontend/_wasm/intro/intro.js @@ -0,0 +1,19 @@ +/// <reference path="../scripts/jquery-3.5.1.min.js"/> + +(function() { + +    function main() { +		$('#wasm_canvas_play_button').on('click', function() { +			$(this).hide(); +			$("#wasm_canvas_stop_button").show(); +		}); + +		$('#wasm_canvas_stop_button').on('click', function() { +			$(this).hide(); +			$("#wasm_canvas_play_button").show(); +		}); +    } + +    $(document).ready(main); + +})() | 
