{"id":22208408,"url":"https://github.com/topaxi/ng-sidesheet","last_synced_at":"2026-04-18T04:01:40.253Z","repository":{"id":142155396,"uuid":"155392263","full_name":"topaxi/ng-sidesheet","owner":"topaxi","description":"Sidesheet for Angular","archived":false,"fork":false,"pushed_at":"2018-10-31T12:50:21.000Z","size":290,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-25T08:13:19.245Z","etag":null,"topics":["angular","ng","ngx","sidepanel","sidesheet"],"latest_commit_sha":null,"homepage":"https://topaxi.github.io/ng-sidesheet/","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/topaxi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-10-30T13:43:57.000Z","updated_at":"2018-10-31T13:28:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"a8966c82-8cf7-4b46-a013-9f03a03fe3f5","html_url":"https://github.com/topaxi/ng-sidesheet","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/topaxi/ng-sidesheet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topaxi%2Fng-sidesheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topaxi%2Fng-sidesheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topaxi%2Fng-sidesheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topaxi%2Fng-sidesheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/topaxi","download_url":"https://codeload.github.com/topaxi/ng-sidesheet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topaxi%2Fng-sidesheet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31955919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","ng","ngx","sidepanel","sidesheet"],"created_at":"2024-12-02T19:18:58.442Z","updated_at":"2026-04-18T04:01:40.227Z","avatar_url":"https://github.com/topaxi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NgSidesheet\n\nA sidesheet directive for Angular.\n\nCurrently the Sidesheet only supports one position,\non the right side of the screen.\n\n## Usage\n\nImport NgSidesheetModule in your App.\n\n```typescript\nimport { NgModule } from '@angular/core';\nimport { NgSidesheetModule } from 'ng-sidesheet';\n\n@NgModule({\n  imports: [NgSidesheetModule]\n})\nexport class AppModule {}\n```\n\nUse in template:\n\n```html\n\u003cdiv *ngSidesheet\u003e\n  This div is rendered in the sidesheet\n\u003c/div\u003e\n```\n\nRender once the value is not nullish anymore:\n\n```html\n\u003cdiv *ngSidesheet=\"'right' with model$ | async as model\"\u003e\n  Only rendered once {{model}} is not null or undefined.\n\u003c/div\u003e\n```\n\nAct on close event of Sidesheet:\n\n```typescript\n@Component({\n  template: `\n    \u003cdiv *ngSidesheet=\"'right'; close: onSidesheetClose\"\u003e\n      Sidesheet content\n    \u003c/div\u003e\n  `\n})\nexport class AppComponent {\n  onSidesheetClose: () =\u003e {\n    console.log('Sidesheet closed')\n  }\n}\n```\n\nOverwrite overlay settings:\n\n```typescript\n@Component({\n  template: `\n    \u003cdiv *ngSidesheet=\"'right'; overlay: false\"\u003e\n      Sidesheet content without overlay\n    \u003c/div\u003e\n    \u003cdiv *ngSidesheet=\"'right'; overlayCloseOnClick: false\"\u003e\n      Don't close Sidesheet on overlay click\n    \u003c/div\u003e\n    \u003cdiv *ngSidesheet=\"'right'; overlayCloseOnESC: false\"\u003e\n      Don't close Sidesheet on pressing ESC key\n    \u003c/div\u003e\n  `\n})\nexport class AppComponent {}\n```\n\n## Advanced configuration\n\nGlobally overwrite Sidesheet default parameters:\n\n```typescript\nimport { NgModule } from '@angular/core';\nimport { NgSidesheetModule } from 'ng-sidesheet';\n\n@NgModule({\n  imports: [\n    NgSidesheetModule.withConfig({\n      closeButton: false, // disable/hide close button\n      scrollShadow: false, // disable shadow for vertical scrolling\n      overlay: false, // disable backdrop overlay\n      overlayCloseOnClick: false, // do not close sidesheet on overlay click\n      overlayCloseOnESC: false // do not close sidesheet on ESC key\n    })\n  ]\n})\nexport class AppModule {}\n```\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftopaxi%2Fng-sidesheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftopaxi%2Fng-sidesheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftopaxi%2Fng-sidesheet/lists"}