You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi dev, I find this library really interesting. I just have a question, do you plan to write an English version with Typescript implement? That would be great! And another question is whether Vanie has any method to prevent dragging window out of view? Like "limitMovement" from windrag library?
The text was updated successfully, but these errors were encountered:
Yes, I have planned to make the English version, but since I don't know English very well, it will likely have spelling and syntax errors. Regarding the implementation with TypeScript, I haven't considered it yet, but I might make it a priority. As for the function to prevent the window from moving, it doesn't exist, but it's a great idea, so thank you. I'll start working on that method.
I will start creating the English version of this library as soon as possible. The method to limit movement, called "limitarMovimiento," has already been created, and I have also submitted a PR on GitHub. For now, on NPM, this method will be included in version 0.0.5 along with the other improvements you mentioned, as well as some additional ones that I am preparing.
importVaniefrom"vanie"constroot=document.getElementById('root');constwindow_noMove=newVanie('windows-claro');constwindow=newVanie('linux-oscuro');window_noMove.padre=window.padre=root;//true: no move, false: movewindow_noMove.limitarMovimiento(true);window_noMove.abrir();window.abrir();window_noMove.lienzo.style.backgroundColor='#00000077';window.lienzo.style.backgroundColor='#059b9add';
Hi dev, I find this library really interesting. I just have a question, do you plan to write an English version with Typescript implement? That would be great! And another question is whether Vanie has any method to prevent dragging window out of view? Like "limitMovement" from windrag library?
The text was updated successfully, but these errors were encountered: