test1.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  7. <script defer src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  8. <script defer src="http://localhost:3100/js/chunk-vendors.js"></script>
  9. <script defer src="http://localhost:3100/js/app.js"></script>
  10. <title>corejs demo</title>
  11. </head>
  12. <body>
  13. <div id="app">
  14. <main v-init-context:vars='{school: "DLMU"}'>
  15. Family Name
  16. <input v-on:input:debounced='$plaid().eventFunc("hello", $event.target.value).go()' v-debounce:input="500"/>
  17. <a href="#" v-on:click='triggerEventFunc({"id": "hello"}, $event)' >Click</a>
  18. <div style="border: 3px solid blue; min-height: 60px;" >
  19. <go-plaid-portal v-init-context:vars='{name: "ABC", age: 1}' :visible='true' :loader-func='{"id": "hello", "params": ["1", "2"]}'>
  20. <go-plaid-portal v-init-context:vars='{name: "CDE", company: "the plant"}' :visible='true' :loader-func='{"id": "hello", "params": ["1", "2"]}'>
  21. {{vars.name}} - {{vars.age}} - {{vars.company}} - {{vars.school}}
  22. </go-plaid-portal>
  23. </go-plaid-portal>
  24. </div>
  25. <div style="border: 3px solid blue; min-height: 60px;">
  26. <go-plaid-portal :visible='true'>
  27. <h1>Hello</h1>
  28. <button v-on:click='triggerEventFunc({"id": "hello"}, $event)' >Click</button>
  29. </go-plaid-portal>
  30. </div>
  31. </main>
  32. </div>
  33. </body>
  34. </html>