{"id":19258935,"url":"https://github.com/lassehaslev/vue-notifier","last_synced_at":"2026-03-01T03:02:40.430Z","repository":{"id":89976164,"uuid":"63254568","full_name":"LasseHaslev/vue-notifier","owner":"LasseHaslev","description":"Notification plugin for vuejs","archived":false,"fork":false,"pushed_at":"2016-07-13T14:49:00.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T18:16:57.884Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/LasseHaslev.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}},"created_at":"2016-07-13T14:47:28.000Z","updated_at":"2016-09-21T05:18:21.000Z","dependencies_parsed_at":"2023-05-30T18:00:21.065Z","dependency_job_id":null,"html_url":"https://github.com/LasseHaslev/vue-notifier","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/LasseHaslev/vue-notifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Fvue-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Fvue-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Fvue-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Fvue-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LasseHaslev","download_url":"https://codeload.github.com/LasseHaslev/vue-notifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Fvue-notifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29959284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T01:47:18.291Z","status":"online","status_checked_at":"2026-03-01T02:00:07.437Z","response_time":124,"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":[],"created_at":"2024-11-09T19:14:50.053Z","updated_at":"2026-03-01T03:02:35.417Z","avatar_url":"https://github.com/LasseHaslev.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @lassehaslev/vue-notifier\n\u003e Notification plugin for vue\n\n## Installation\nRun ```npm install @lassehaslev/vue-notifier --save``` in your project folder\n\n## Usage\nThe notify container watches for all ```notify``` events from children and shows a notification bar at top.\nThe container can also call ```notify``` on it self.\n``` html\n\u003ctemplate\u003e\n\n    \u003c!-- Notify element --\u003e\n    \u003cnotifier\u003e\u003c/notifier\u003e\n\n    \u003cbutton @click=\"notify\"\u003eNotify me!\u003c/button\u003e\n    \u003cbutton @click=\"notify( 'Custom message' )\"\u003eNotify with custom message!\u003c/button\u003e\n\n    \u003c!-- Notify with different types --\u003e\n    \u003ch3\u003eNotification types\u003c/h3\u003e\n    \u003cbutton @click=\"notifyPrimary\"\u003ePrimary\u003c/button\u003e\n    \u003cbutton @click=\"notifyInfo\"\u003eInfo\u003c/button\u003e\n    \u003cbutton @click=\"notifySuccess\"\u003eSuccess\u003c/button\u003e\n    \u003cbutton @click=\"notifyWarning\"\u003eWarning\u003c/button\u003e\n    \u003cbutton @click=\"notifyDanger\"\u003eDanger\u003c/button\u003e\n\n\u003c/template\u003e\n\n\u003cscript\u003e\n// The notifier object\nimport Notifier from '@lassehaslev/vue-notifier';\n\n// This mixin watches for notification events and pass it on to the notifier element\nimport { NotifierContainerMixin } from '@lassehaslev/vue-notifier';\n\n// This mixin adds notify functions to the element \n// { notify, notifyPrimary, notifySuccess, notifyInfo, notifyWarning, notifyDanger }\nimport { NotifierMixin } from '@lassehaslev/vue-notifier';\n\nexport default {\n\n    mixins: [ NotifierContainerMixin, NotifierMixin ],\n\n    components: {\n        Notifier,\n    }\n\n}\n\u003c/script\u003e\n```\n\n## Build Setup\n\n``` bash\n# install dependencies\nnpm install\n\n# serve with hot reload at localhost:8080\nnpm run dev\n\n# build for production with minification\nnpm run build\n```\n\nFor more information see the [docs for vueify](https://github.com/vuejs/vueify).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flassehaslev%2Fvue-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flassehaslev%2Fvue-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flassehaslev%2Fvue-notifier/lists"}