├── .gitignore ├── LICENSE ├── README.md ├── package.json └── src └── Notification.vue /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2016 fundon <cfddream@gmail.com< 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Notification 2 | 3 | Notification component for Vue Bulma. 4 | 5 | 6 | ## Installation 7 | 8 | ``` 9 | $ npm install vue-bulma-notification --save 10 | ``` 11 | 12 | 13 | ## Examples 14 | 15 | ```vue 16 | 27 | 28 | 73 | ``` 74 | 75 | 76 | ## Badges 77 | 78 | ![](https://img.shields.io/badge/license-MIT-blue.svg) 79 | ![](https://img.shields.io/badge/status-stable-green.svg) 80 | 81 | --- 82 | 83 | > [fundon.me](https://fundon.me)  ·  84 | > GitHub [@fundon](https://github.com/fundon)  ·  85 | > Twitter [@_fundon](https://twitter.com/_fundon) 86 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue-bulma-notification", 3 | "version": "1.1.0", 4 | "description": "Notification component for Vue Bulma", 5 | "main": "src/Notification.vue", 6 | "peerDependencies": { 7 | "bulma": ">=0.2", 8 | "vue": ">=2" 9 | }, 10 | "repository": "vue-bulma/notification", 11 | "keywords": [ 12 | "vue", 13 | "bulma", 14 | "vue-bulma", 15 | "vue-bulma-component", 16 | "vue-bulma-notification", 17 | "notification" 18 | ], 19 | "author": "Fangdun Cai ", 20 | "license": "MIT" 21 | } 22 | -------------------------------------------------------------------------------- /src/Notification.vue: -------------------------------------------------------------------------------- 1 | 19 | 20 | 129 | 130 | 158 | --------------------------------------------------------------------------------