[−][src]Crate wasm_slideshow
The wasm functions for managing my slides. This crate should only function in a browser. Static globals are used to ensure that closures are kept in memory, while not simply forgetting them due to need for reuse at times.
An associated script, compile.sh
will call wasm-pack with the arguments used for building the
server's static resources.
Functions
init | Binds all relevant callbacks and listeners in the home page. Triggered when the wasm module is loaded. |
set_slide | Sets a slide to active, deactivating all other slides. |