- Notifications
You must be signed in to change notification settings - Fork2
library for building virtual desktop environment on the web
License
Mouradouchane/DesktopJS
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
DesktopJS it's a javascript library for building virtual desktop environment as a web-app .
demo.mp4
if you want to use it directly , just include "min-version" .
// "min-version" not available yet :(
if you want to use "dev-version" , follow instructions below .
1 - clone this repo
git clone https://github.com/Mouradouchane/DesktopJS.git
2 - import "dev-version" to your project
import{desktop}from"...path/Desktop-dev/desktop.js";
3 - start usage and take a look to thedocs .
simple example of desktop and window with resize and drag events .
// desktop objectconstdesk=newdesktop(document.body);// new windowletwindow=desktop.new.window( ...pass_args);// make window open or visiblewindow.open();// resize event only if window get resized in leftwindow.on.resize.left(function(WIN,EVENT){console.warn("Hi , resize in left is happening !");// log current window widht and heightconsole.log("Width :",window.get.width());console.log("Height :",window.get.height());});// when window in drag in eventwindow.on.drag(function(WIN,EVENT){console.warn("Hi , window in drag right now");// log current window x and y positionconsole.log("X :",window.get.x());console.log("y :",window.get.y());});
under construction right now but you can using it to get details about everything in the library docs .
if you found any kind of "bug , error , problems" feel free to open issues and talk about what you found .
if you want to contribute here in DesktopJS you welcome , you can "fix bugs" , "add futures" , "improve codes" , "refactor codes" DesktopJS is open for you and everyone else .
just before you start working on anything directly , talk to me about it then feel free to do what you want 😃 .
About
library for building virtual desktop environment on the web
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors2
Uh oh!
There was an error while loading.Please reload this page.