{"id":25451488,"url":"https://github.com/benevideslecontes/ngx-bootstrap-alert-notification","last_synced_at":"2025-07-11T04:40:01.063Z","repository":{"id":38731354,"uuid":"195578317","full_name":"BenevidesLecontes/ngx-bootstrap-alert-notification","owner":"BenevidesLecontes","description":"Angular bootstrap alerts as notifications","archived":false,"fork":false,"pushed_at":"2023-01-06T02:00:53.000Z","size":5899,"stargazers_count":11,"open_issues_count":27,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T06:57:21.936Z","etag":null,"topics":["alert","angular","angular10","angular8","angular9","bootstrap","bootstrap4","notification","notifications"],"latest_commit_sha":null,"homepage":"https://benevideslecontes.github.io/ngx-bootstrap-alert-notification/","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/BenevidesLecontes.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":"2019-07-06T19:58:59.000Z","updated_at":"2022-09-13T17:49:47.000Z","dependencies_parsed_at":"2023-02-05T02:16:26.963Z","dependency_job_id":null,"html_url":"https://github.com/BenevidesLecontes/ngx-bootstrap-alert-notification","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/BenevidesLecontes%2Fngx-bootstrap-alert-notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenevidesLecontes%2Fngx-bootstrap-alert-notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenevidesLecontes%2Fngx-bootstrap-alert-notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenevidesLecontes%2Fngx-bootstrap-alert-notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenevidesLecontes","download_url":"https://codeload.github.com/BenevidesLecontes/ngx-bootstrap-alert-notification/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239379359,"owners_count":19628682,"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":["alert","angular","angular10","angular8","angular9","bootstrap","bootstrap4","notification","notifications"],"created_at":"2025-02-17T22:53:42.136Z","updated_at":"2025-02-17T22:53:42.983Z","avatar_url":"https://github.com/BenevidesLecontes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Every feedback is welcome!**\n\n[Demo](https://benevideslecontes.github.io/ngx-bootstrap-alert-notification/)\n\n## Installation\n\nInstall via npm:\n\n```shell\n$ npm install @benevideschissanga/ngx-bootstrap-alert-notification --save\n```\n\nor yarn:\n\n```shell\n$ yarn add @benevideschissanga/ngx-bootstrap-alert-notification\n```\n\n## Usage\n\nTo use ngx-bootstrap-alert-notification\n\nIn your main module, import `NgxBootstrapAlertNotificationModule.forRoot()`\n\nIn your component inject the `NgxBootstrapAlertNotificationService` and use like:\n\n```typescript\nthis.notificationService.show(\n  {\n    type: 'danger',\n    message:\n      'This is a notification with close button and icon and can have many lines.',\n    icon: 'icon icon-bell-55',\n    title: 'Danger',\n  },\n  {\n    position: 'topRight',\n  }\n)\n```\n\n### NotificationData\n\n| Property Name | Property Type    | Property Value                                    |\n| ------------- | ---------------- | ------------------------------------------------- |\n| type          | NotificationType | `warning`, `success`, `primary`, `info`, `danger` |\n| title         | string           | Title for the alert                               |\n| icon          | string           | Icon class name                                   |\n| message       | string           | Message to display                                |\n| template      | TemplateRef\u003cany\u003e | Custom template                                   |\n\n### NotificationConfig\n\nYou can pass custom configs\n\n| Property Name | Property Type | Property Value                                                                  |\n| ------------- | ------------- | ------------------------------------------------------------------------------- |\n| position      | string        | `topLeft`, `topCenter`, `topRight`, `bottomLeft`, `bottomCenter`, `bottomRight` |\n| animation     | boolean       | Should be animated or not                                                       |\n| timeOut       | number        | Delay time to auto close the alert                                              |\n| dismissible   | boolean       | Should auto close or not                                                        |\n| unique        | boolean       | Dont show duplicated messages if true                                           |\n\n## Versions\n\n`0.0.3 - Angular 8`\n\n`0.0.4 - Angular 9`\n\n`0.0.5 - Angular 10`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenevideslecontes%2Fngx-bootstrap-alert-notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenevideslecontes%2Fngx-bootstrap-alert-notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenevideslecontes%2Fngx-bootstrap-alert-notification/lists"}