{"id":26221664,"url":"https://github.com/xjpro/angular-toasts","last_synced_at":"2025-12-27T05:28:49.018Z","repository":{"id":11368820,"uuid":"13804959","full_name":"xjpro/angular-toasts","owner":"xjpro","description":"AngularJS directive for Bootstap \"toast\" style notifications.","archived":false,"fork":false,"pushed_at":"2018-03-14T15:53:00.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-08-03T21:49:12.355Z","etag":null,"topics":["angularjs2","bootstrap","javascript"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"pfnet/chainer","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xjpro.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":"2013-10-23T14:27:24.000Z","updated_at":"2018-03-14T15:53:47.000Z","dependencies_parsed_at":"2022-07-21T16:02:31.429Z","dependency_job_id":null,"html_url":"https://github.com/xjpro/angular-toasts","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjpro%2Fangular-toasts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjpro%2Fangular-toasts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjpro%2Fangular-toasts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjpro%2Fangular-toasts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xjpro","download_url":"https://codeload.github.com/xjpro/angular-toasts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243251714,"owners_count":20261261,"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":["angularjs2","bootstrap","javascript"],"created_at":"2025-03-12T16:29:09.238Z","updated_at":"2025-12-27T05:28:49.012Z","avatar_url":"https://github.com/xjpro.png","language":null,"readme":"# angular-toasts\n\nAngular directive for Bootstap \"toast\" notifications.\n\n## Usage\n\nSome where in your HTML, use the directive:\n```\n\u003cdiv toast=\"{ timeout: 2500, position: 'top' }\"\u003e\u003c/div\u003e\n```\n\nThen, when you want to display a notification, do so with an Angular $broadcast:\n```javascript\n$rootScope.$broadcast(\"toast\", {\n\ttype: \"alert-success\",\n\ttext: \"This is a successful message!\"\n});\n$rootScope.$broadcast(\"toast\", {\n\ttype: \"alert-error\",\n\ttext: \"Oh no! Something bad has happened\"\n});\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjpro%2Fangular-toasts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxjpro%2Fangular-toasts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjpro%2Fangular-toasts/lists"}