1.3.1 • Published 2 years ago

site-drawer-component v1.3.1

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

Build Status

site-drawer-component

Simple site drawer component

Compatibility

  • Ember.js v3.20 or above
  • Ember CLI v3.20 or above
  • Node.js v12 or above

Installation

ember install site-drawer-component

Usage

Just wrap your content with this component:

application.hbs

<SiteDrawer as |drawer|>
    <drawer.overlay />
    <drawer.aside>
        drawer content here
        You can place everything you need here
    </drawer.aside>

    <drawer.trigger>
        toggle drawer button
    </drawer.trigger>

    ...you main content here...
</SiteDrawer>

drawer object also has toggleDrawer, closeDrawer, openDrawer functions and opened state variable.

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

1.3.1

2 years ago

1.2.0

2 years ago

1.3.0

2 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

0.0.5

5 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago