• Lightweight bidirectional binding tool — ukulelejs


    What is ukulejs A lightweight two-way binding tool, you can temporarily understand it as a simplified version of angular. (hereinafter referred to as ukujs) Let’s take a look at the simplest example of two-way binding <div uku-application> <input type=”text” uku-value=”myCtrl.message”> <input type=”text” uku-value=”myCtrl.message”> <textarea rows=”4″ uku-value=”myCtrl.message”></textarea> </div> //Register ViewModel var uku = new Ukulele(); uku.registerController(“myCtrl”,new […]

  • Realization of music piano special effects with JS


    In this paper, we share the JS implementation of music piano specific code for your reference, the specific content is as follows Knowledge points 1. Keydown keyboard press event2. EV [‘keycode ‘] gets the current key3. Introduce the tool library Operation effect 1-9 control keys code <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <title>Title</title> <style> […]