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.
Binds all relevant callbacks and listeners in the home page. Triggered when the wasm module is loaded.
Sets a slide to active, deactivating all other slides.