Skip to content

Rebulus/layout-constructor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Layout constructor

Drag and drop interface to create a page layout

Getting started

Just run commands in commandline tool and open index.html in a browser.

npm install && npm run build

Run tests

npm install && npm test

Data structure

{
    "items": {
        "0": {
            "id": 0,
            "type": "container",
            "content": [1, 2, 3]
        },
        "1": {
            "id": 1,
            "parentId": 0,
            "type": "container",
            "content": [4]
        },
        "2": {
            "id": 2,
            "parentId": 0,
            "type": "leaf"
        },
        "3": {
            "id": 3,
            "parentId": 0,
            "type": "container",
            "content": []
        },
        "4": {
            "id": 4,
            "parentId": 1,
            "type": "leaf"
        }
    }
}

About

Drag and drop interface to create a page layout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published