@anviltech/wuf-ang-drawer

An Angular Material-style side drawer.

Usage no npm install needed!

<script type="module">
  import anviltechWufAngDrawer from 'https://cdn.skypack.dev/@anviltech/wuf-ang-drawer';
</script>

README

Drawer

A UI widget for a Material Design side drawer.

Installation

Install this package with the following command:

npm install @anviltech/wuf-ang-drawer --save

or

yarn add @anviltech/wuf-ang-drawer

Import this package into your application's app.module.ts file:

import { WufDrawerModule } from '@anviltech/wuf-ang-drawer';

Add to the imports section of app.module.ts:

imports: [
    WufDrawerModule.forRoot()
]

When this package is used in any application submodule (not the main app.module.ts file), do not include .forRoot():

imports: [
    WufDrawerModule
]

Usage

Refer to the Living Style Guide for documentation on usage of this package.