Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
api doc
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed Aug 21, 2013
1 parent 88815bc commit 1f29b84
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions polymer-flex-layout/polymer-flex-layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,64 @@
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<!--
/**
* @module Polymer Elements
*/
/**
* polymer-flex-layout provides a helper to use CSS3 Flexible Boxes. By putting
* polymer-flex-layout inside an element it makes the element a flex
* container. Use 'flex' attribute to make the flex item flexible.
*
* Example:
*
* <div>
* <polymer-flex-layout></polymer-flex-layout>
* <div>Left sidebar</div>
* <div flex>Main content</div>
* <div>Right sidebar</div>
* </div>
*
* <div>
* <polymer-flex-layout></polymer-flex-layout vertical>
* <div>Header</div>
* <div flex>Body</div>
* <div>Footer</div>
* </div>
*
* @class polymer-flex-layout
*/
/**
* If true, flex items are aligned vertically.
*
* @attribute vertical
* @type boolean
* @default false
*/
/**
* Defines the default for how flex items are laid out along the cross axis on
* the current line. Possible values are 'start', 'center' and 'end'.
*
* @attribute align
* @type string
* @default ''
*/
/**
* Defines how flex items are laid out along the main axis on the current line.
* Possible values are 'start', 'center' and 'end'.
*
* @attribute justify
* @type string
* @default ''
*/
/**
* If true, polymer-flex-layout is the flex container.
*
* @attribute isContainer
* @type boolean
* @default false
*/
-->
<polymer-element name="polymer-flex-layout" attributes="vertical align justify isContainer">
<template>
<link rel="stylesheet" polymer-scope="controller" href="polymer-flex-layout.css">
Expand Down

0 comments on commit 1f29b84

Please sign in to comment.