{"id":20285837,"url":"https://github.com/tpkn/vue-lightbox","last_synced_at":"2026-02-11T07:04:47.492Z","repository":{"id":74204174,"uuid":"259326888","full_name":"tpkn/vue-lightbox","owner":"tpkn","description":"Vue component that wraps any content into a lightbox popup","archived":false,"fork":false,"pushed_at":"2020-07-26T12:01:29.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-01T22:40:04.661Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpkn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-04-27T13:16:44.000Z","updated_at":"2020-07-26T12:01:31.000Z","dependencies_parsed_at":"2023-02-23T07:30:18.294Z","dependency_job_id":null,"html_url":"https://github.com/tpkn/vue-lightbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tpkn/vue-lightbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Fvue-lightbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Fvue-lightbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Fvue-lightbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Fvue-lightbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpkn","download_url":"https://codeload.github.com/tpkn/vue-lightbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkn%2Fvue-lightbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29329492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-14T14:29:11.085Z","updated_at":"2026-02-11T07:04:47.474Z","avatar_url":"https://github.com/tpkn.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue Lightbox\r\n\r\nVue component that wraps any content into a lightbox popup\r\n\r\n\r\n\r\n## Props\r\n\r\n### show\r\n**Type**: _Boolean_  \r\n**Default**: `false`\r\n\r\n\r\n### bgcolor\r\n**Type**: _String_  \r\n**Default**: `rgba(0,0,0,.9)`\r\n\r\nDarkening background color\r\n\r\n\r\n### noscroll\r\n**Type**: _String_ | _Boolean_  \r\n**Default**: `true`\r\n\r\nBlocks vertical scrolling for the `body` tag\r\n\r\n\r\n### zIndex\r\n**Type**: _Number_  \r\n**Default**: `99999`\r\n\r\nLightbox element `z-index`\r\n\r\n\r\n### theme\r\n**Type**: _String_  \r\n\r\nAddition class for the lightbox instance\r\n\r\n\r\n## Custom Events\r\n\r\n### close\r\n\r\nThe event is triggered when the 'close' button is pressed\r\n\r\n\r\n\r\n## Usage\r\n\r\n```javascript\r\nimport Lightbox from './components/vue-lightbox.vue'\r\nVue.component('VueLightbox', Lightbox);\r\n```\r\n\r\n```html\r\n\u003cLightbox :show=\"show\" @close=\"show = false\"\u003e\r\n   \u003cul\u003e\r\n      \u003cli\u003e001\u003c/li\u003e\r\n      \u003cli\u003e002\u003c/li\u003e\r\n      \u003cli\u003e003\u003c/li\u003e\r\n      \u003cli\u003e004\u003c/li\u003e\r\n      \u003cli\u003e005\u003c/li\u003e\r\n   \u003c/ul\u003e\r\n\u003c/Lightbox\u003e\r\n```\r\n\r\nCustom close button: \r\n\r\n```css\r\n.custom {\r\n   .close_button {\r\n      background-image: url('my_custom_close.svg');\r\n   }\r\n}\r\n```\r\n\r\nYou should set `.custom` class through `theme` attribute first.\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpkn%2Fvue-lightbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpkn%2Fvue-lightbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpkn%2Fvue-lightbox/lists"}