@logo-software/drawer
TypeScript icon, indicating that this package has built-in type declarations

11.0.0 • Public • Published

Drawer Module

The drawer creates the main layout of the application. There are 3 parts of the layout which include left, top, right sides.

Click here for demo

Installation

All public npm packages of Logo Software is at https://www.npmjs.com/~logofe. To install Drawer Module:

$ npm set registry https://registry.npmjs.org/
$ npm install @logo-software/drawer -s

Just import it to your project of @NgModule import section.

@NgModule({
 imports: [CommonModule, DrawerModule],
})
export class AppModule {
}

Drawer Component

The drawer component is designed to add side content to a small section of your app. Left side menu can be opened or closed using the open(), close() and toggle() methods. Add the below code to your code stack and give initializer parameters.

app.component.html

<logo-drawer height="65px" width="200px" [menu]="false">
  <ng-container drawer-left>
    <div class="logo">LOGO<span>ELEMENTS</span></div>
  </ng-container>
  <ng-container drawer-top>
    <h1>Title</h1>
  </ng-container>
  <ng-container drawer-right>
    content goes here. <button (click)="close()">menu</button>
  </ng-container>
</logo-drawer>

For API details, please visit http://design.logo.com.tr/#/docs/components/components-overview

Package Sidebar

Install

npm i @logo-software/drawer

Weekly Downloads

1

Version

11.0.0

License

See license in LICENSE file

Unpacked Size

96.8 kB

Total Files

20

Last publish

Collaborators

  • furkan.cetin
  • yusufyilmaz
  • serdarates
  • gamzeyapici
  • srknc
  • dotnet-ankara
  • murat.logo
  • serhan.gurbuz
  • gulnihaleksi