{"id":21229743,"url":"https://github.com/pansyjs/react-fullscreen","last_synced_at":"2025-10-16T05:19:09.672Z","repository":{"id":44019007,"uuid":"231585019","full_name":"pansyjs/react-fullscreen","owner":"pansyjs","description":"react fullscreen component","archived":false,"fork":false,"pushed_at":"2024-02-22T07:56:46.000Z","size":1175,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-28T20:05:05.860Z","etag":null,"topics":["alitajs","component","fullscreen","pansy","react"],"latest_commit_sha":null,"homepage":"https://react-fullscreen.now.sh","language":"TypeScript","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/pansyjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-01-03T12:35:08.000Z","updated_at":"2024-01-24T03:54:09.000Z","dependencies_parsed_at":"2024-10-30T06:28:45.444Z","dependency_job_id":null,"html_url":"https://github.com/pansyjs/react-fullscreen","commit_stats":{"total_commits":28,"total_committers":5,"mean_commits":5.6,"dds":0.4642857142857143,"last_synced_commit":"7569f9864c0176a25beb486f4f67dbd1bf3c26ad"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/pansyjs/react-fullscreen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pansyjs%2Freact-fullscreen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pansyjs%2Freact-fullscreen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pansyjs%2Freact-fullscreen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pansyjs%2Freact-fullscreen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pansyjs","download_url":"https://codeload.github.com/pansyjs/react-fullscreen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pansyjs%2Freact-fullscreen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267578003,"owners_count":24110351,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"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":["alitajs","component","fullscreen","pansy","react"],"created_at":"2024-11-20T23:29:15.581Z","updated_at":"2025-10-16T05:19:04.610Z","avatar_url":"https://github.com/pansyjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Fullscreen(React 全屏组件)\n\n[![Alita](https://img.shields.io/badge/alitajs-react%20fullscreen-blue.svg)](https://github.com/alitajs)\n[![NPM version](https://img.shields.io/npm/v/@pansy/react-fullscreen.svg?style=flat)](https://npmjs.org/package@pansy/react-fullscreen)\n[![NPM downloads](http://img.shields.io/npm/dm/@pansy/react-fullscreen.svg?style=flat)](https://npmjs.org/package/@pansy/react-fullscreen)\n\n## ✨ 特性\n\n- 🚀 基于 screenfull 封装\n- 📦 基于 rollup 进行打包，提供`cjs`、`es`格式\n- 💻 使用 TypeScript 构建，提供完整的类型定义文件\n\n## 🏗 安装\n\n```\n# npm 安装\nnpm install @pansy/react-fullscreen --save\n\n# yarn 安装 推荐\nyarn add  @pansy/react-fullscreen\n```\n\n## Props\n\n### enabled\n\n- 数据类型: `boolean`\n- 默认值: `false`\n- 描述: 是否全屏\n\n### target\n\n- 数据类型: `HTMLElement`\n- 默认值: 无\n- 描述: 需要控制的目标元素\n\n## onClose\n\n- 数据类型: `function`\n- 默认值: 无\n- 描述: 关闭全屏的回调\n\n## ⌨️ 本地开发\n\n```\n# 克隆项目到本地\ngit@github.com:pansyjs/react-fullscreen.git\n\n# 切换到项目目录\ncd ./react-fullscreen\n\n# 安装依赖\nyarn\n```\n\n## 🌟 社区互助\n\n| Github Issue                                                 | 钉钉群                                                                                     | 微信群                                                                                   |\n| ------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- |\n| [issues](https://github.com/pansyjs/react-fullscreen/issues) | \u003cimg src=\"https://github.com/alitajs/alita/blob/master/public/dingding.png\" width=\"100\" /\u003e | \u003cimg src=\"https://github.com/alitajs/alita/blob/master/public/wechat.png\" width=\"100\" /\u003e |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpansyjs%2Freact-fullscreen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpansyjs%2Freact-fullscreen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpansyjs%2Freact-fullscreen/lists"}