This repo contains the code for a talk given on October 22, 2018 to the Triangle Rustaceans meetup group. The code is a sample app with examples of following:
- JavaScript calling a rust function to generate a struct
- JavaScript Passing the struct to a rust function
- Javascript using a rust function as an event handler
- Rust creating and removing a dom element directly
- Rust adding an event listener to a button
- Rust creating an event handler with a closure