Mercurial Hosting > dad
comparison src/alternatives/interactjs.html @ 9:eee8862be4c7
update text
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 28 Apr 2023 21:07:17 -0600 |
parents | 6d5e4b38b4fb |
children |
comparison
equal
deleted
inserted
replaced
8:969d5980b375 | 9:eee8862be4c7 |
---|---|
83 </script> | 83 </script> |
84 </head> | 84 </head> |
85 <body> | 85 <body> |
86 <h1><a href="https://interactjs.io/">interact.js</a></h1> | 86 <h1><a href="https://interactjs.io/">interact.js</a></h1> |
87 | 87 |
88 <p>This has a number of problems. First, it is clearly too complicated. And this means that it isn't on just one JavaScript file. One has to use the modern horror of <b>npm</b> to get it (which I refuse to do). The suggested way of handling dragging doesn't work when the DOM changes, as the example below shows. There is probably some complicated way around this, but I can't be bothered given the other issues.</p> | 88 <p>This has a number of problems. First, it is clearly too complicated. And this means that it isn't on just one JavaScript file. One has to use the modern horror of <b>npm</b> to get it (which I refuse to do). The suggested way of handling dragging doesn't work when the DOM changes, as the example below shows. There is probably some complicated way around this, but I can't be bothered given the other issues. The file that one needs to include is <a href="https://cdn.jsdelivr.net/npm/interactjs/dist/interact.js">interact.js</a>.</p> |
89 | 89 |
90 <div> | 90 <div> |
91 <script> | 91 <script> |
92 for( let i=1; i<=10; i++ ) { | 92 for( let i=1; i<=10; i++ ) { |
93 document.write(` | 93 document.write(` |