An Angular directive for page layout and widget management.
bower install angular-quilt --save
<script src="/bower_components/angular-quilt/dist/angular-quilt.js">
angular.module('myApp', ['ngQuilt']);
<ng:quilt quilt-url="/quilts/page.quilt.json"></ng:quilt>
{
"rows": [
{
"columns": [
{
"width": 12,
"components": [
{
"id": "test-content",
"parameters": {
"content": "Header"
}
}
]
}
]
},
{
"columns": [
{
"width": 8,
"components": [
{
"id": "test-content",
"parameters": {
"content": "Main Content"
}
}
]
}, {
"width": 4,
"components": [
{
"id": "test-content",
"parameters": {
"content": "Side Content"
}
}
]
}
]
},
{
"columns": [
{
"width": 12,
"components": [
{
"id": "test-content",
"parameters": {
"content": "Footer"
}
}
]
}
]
}
]
}
TODO