Tag:Root string

  • Lightweight bidirectional binding tool — ukulelejs

    Time:2021-9-10

    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 […]