{"id":13424262,"url":"https://github.com/ElemeFE/vue-toast-mobile","last_synced_at":"2025-03-15T18:34:26.263Z","repository":{"id":65980049,"uuid":"57936542","full_name":"ElemeFE/vue-toast-mobile","owner":"ElemeFE","description":"A mobile toast plugin for vue.js","archived":false,"fork":false,"pushed_at":"2016-10-25T11:02:48.000Z","size":32,"stargazers_count":143,"open_issues_count":8,"forks_count":55,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-02-28T06:15:29.759Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/ElemeFE.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":"2016-05-03T02:45:40.000Z","updated_at":"2025-02-28T03:02:32.000Z","dependencies_parsed_at":"2023-02-19T18:15:54.599Z","dependency_job_id":null,"html_url":"https://github.com/ElemeFE/vue-toast-mobile","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Fvue-toast-mobile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Fvue-toast-mobile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Fvue-toast-mobile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElemeFE%2Fvue-toast-mobile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElemeFE","download_url":"https://codeload.github.com/ElemeFE/vue-toast-mobile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243775798,"owners_count":20346265,"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":[],"created_at":"2024-07-31T00:00:50.934Z","updated_at":"2025-03-15T18:34:21.247Z","avatar_url":"https://github.com/ElemeFE.png","language":"HTML","funding_links":[],"categories":["Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)","UI组件","Awesome Vue.js"],"sub_categories":["Libraries \u0026 Plugins"],"readme":"# Overview\nvue-toast-mobile is a mobile toast plugin for vue.js.\n\n# Installation\nFirst, install `vue-toast-mobile` from npm:\n```bash\n$ npm install vue-toast-mobile\n```\n\nThen use it:\n```Javascript\n// ES6 mudule\nimport Toast from 'vue-toast-mobile';\n\n// CommonJS\nconst Toast = require('vue-toast-mobile').default;\n```\n\n# Usage\nBasically you can pass a string to `Toast`:\n```Javascript\nToast('Upload Completed');\n```\nOr invoke `Toast` with an object as its configuration:\n```Javascript\nToast({\n  message: 'Upload Completed',\n  position: 'bottom',\n  duration: 5000\n});\n```\n\n# API\n| Option    | Description                                    | Value                   | Default  |\n|-----------|------------------------------------------------|-------------------------|----------|\n| message   | content of the toast                           |                         |          |\n| position  | location of the toast relative to viewport     | 'top' 'bottom' 'middle' | 'middle' | \n| duration  | time before the toast vanishes, in millisecond |                         | 3000     |\n| className | custom class name of the toast                 |                         |          |\n| iconClass | class name of the optional icon font           |                         |          |\n\n# License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FElemeFE%2Fvue-toast-mobile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FElemeFE%2Fvue-toast-mobile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FElemeFE%2Fvue-toast-mobile/lists"}