Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stayradiated/reactwm

A minimal window manager built using React.
https://github.com/stayradiated/reactwm

Last synced: 2 months ago
JSON representation

A minimal window manager built using React.

Awesome Lists containing this project

README

        

ReactWM
=======

A minimal window manager built using React.

## Install

```
npm install --save reactwm
```

## Example App

```
> npm start
```

Then open http://localhost:8000

## Usage

```javscript
var React = require('react');
var ReactWM = require('reactwm');

var Settings = require('./views/settings');

var manager = new ReactWM.Manager();

React.renderComponent(
,
document.body
);

manager.open(, {
id: 'settings',
x: 20,
y: 20,
width: 300,
height: 400,
title: 'Settings'
});
```