{"id":24054634,"url":"https://github.com/emintontul/drawer","last_synced_at":"2026-05-16T22:34:36.611Z","repository":{"id":57111380,"uuid":"324532486","full_name":"emintontul/drawer","owner":"emintontul","description":"Basic drawer component for Angular","archived":false,"fork":false,"pushed_at":"2021-01-09T22:39:57.000Z","size":151,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T22:45:47.530Z","etag":null,"topics":["angular","angular2","drawer","ngx-drawer"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emintontul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-26T10:36:27.000Z","updated_at":"2021-01-09T22:46:23.000Z","dependencies_parsed_at":"2022-08-21T00:01:03.982Z","dependency_job_id":null,"html_url":"https://github.com/emintontul/drawer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emintontul%2Fdrawer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emintontul%2Fdrawer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emintontul%2Fdrawer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emintontul%2Fdrawer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emintontul","download_url":"https://codeload.github.com/emintontul/drawer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240840048,"owners_count":19866164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular2","drawer","ngx-drawer"],"created_at":"2025-01-09T03:49:07.197Z","updated_at":"2026-05-16T22:34:31.591Z","avatar_url":"https://github.com/emintontul.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drawer\n\nThis is a basic drawer component for angular.\n## Demo\n![](https://www.emintontul.com/demo/drawer/drawer.gif)\n## Installation\n\n```bash\nnpm i @emintontul/drawer\n```\n\n## Usage\nYou'll need to add `MetDrawerModule` to your application module.\n```typescript\nimport { MetDrawerModule, MetDrawerService } from '@emintontul/drawer';\n...\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    MetDrawerModule,\n    ...\n  ],\n  providers: [\n      MetDrawerService,\n      ...\n    ],\n  bootstrap: [AppComponent]\n})\n\nexport class AppModule {\n}\n\n```\nAdd the `met-drawer` attribute:\n```typescript\nimport { Button, MetDrawerService } from '@emintontul/drawer';\n@Component({\n  selector: 'sample',\n  template:`\n  \u003cmet-drawer [isActive]=\"isDrawerActive\" [buttons]=\"buttonArray\" [title]=\"'Drawer Title'\"\u003e\n    HTML or something goes here...\n  \u003c/met-drawer\u003e\n  `\n})\nclass SampleDrawer {\n  isDrawerActive: boolean = false;\n  buttonArray: Button[] = new Array\u003cButton\u003e();\n  constructor(private drawer: MetDrawerService){\n    this.buttonArray.push({text: \"Save\", class: \"btn btn-primary\", callFunction: this.someFunction});\n  }\n  showDrawer(){\n      this.drawer.showDrawer();\n  }\n  someFunction(){\n      ...\n  }\n}\n```\nThat's it! Now you can use drawer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femintontul%2Fdrawer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femintontul%2Fdrawer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femintontul%2Fdrawer/lists"}