JSPM

layout-stack

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 49
  • Score
    100M100P100Q66053F

Create a layout stack based on the given layout templates.

Package Exports

  • layout-stack

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (layout-stack) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.