Socket
Socket
Sign inDemoInstall

@logo-software/drawer

Package Overview
Dependencies
5
Maintainers
8
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @logo-software/drawer

The navigation drawer slides in from the left and contains the navigation destinations for your app.


Version published
Weekly downloads
2
increased by100%
Maintainers
8
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 10 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc