layout-stack
Create a layout stack based on the given layout templates.
Last updated 6 years ago by doowb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install layout-stack 
SYNC missed versions from official npm registry.

layout-stack NPM version

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 to assertLayout.
  • 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.

Current Tags

  • 0.1.1                                ...           latest (6 years ago)

2 Versions

  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 2
This Week 2
This Month 23
Last Day 0
Last Week 6
Last Month 42
Dependencies (1)
Dev Dependencies (2)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |