layout-stack
v0.1.1
Published
Create a layout stack based on the given layout templates.
Downloads
1,830
Maintainers
Readme
layout-stack
Create a layout stack based on the given layout templates.
Install
Install with npm
npm i layout-stack --save
Run tests
npm test
Usage
var stack = require('layout-stack');
API
.createStack
Build a layout stack.
name
{String}: The name of the first layout to add to the stack.layouts
{Object}: Possible layout templates tha could be used in the stack.options
{Object}: Options to pass toassertLayout
.returns
{Array}: The layout stack starting with the given name.
var stack = createStack('2-col-side-nav', layouts);
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Brian Woodward
License
Copyright (c) 2014 Brian Woodward
Released under the MIT license
This file was generated by verb on November 18, 2014.