react-toolbox/components/drawer
Javi Velasco ba5432adfe Add a drawer panel with playground area 2015-10-30 00:49:46 +01:00
..
_config.scss Extract some variables from drawer sass 2015-10-21 01:10:32 +02:00
index.jsx Add a drawer panel with playground area 2015-10-30 00:49:46 +01:00
readme.md Rename component doc to readme.md 2015-10-28 22:09:09 +07:00
style.scss Add a drawer panel with playground area 2015-10-30 00:49:46 +01:00

readme.md

Aside

var Aside = require('react-toolbox/components/aside');

<Aside>
  <header/>
  <section>
    <h1>Hello World</h1>
  </section>
  <footer/>
</Aside>

Properties

Name Type Default Description
active Bool false If true, component will be show by default.
className String Sets the class-styles of the Component.
hideable Bool false If true, the componente can be hideable clicking in it.
type String "left" Type of the component, overwrite this property if you need set a different stylesheet. Options: "left" or "right"

Methods

show

Show component.

aside_instance.show();

hide

Hide component.

aside_instance.hide();