프로젝트
GitHub에서 보기
mirari/vue-fullscreen
소개
Vue용 전체 화면 기능으로, 네이티브 모드와 페이지 내부 전용 모드를 지원합니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalvue-fullscreen
Fullscreen for Vue, with native and page-only modes.
English documentation · 中文文档 · Live demo / 在线演示
Install
npm install vue-fullscreen # Vue 3 (5.x)
npm install vue-fullscreen@legacy # Vue 2 (4.x)
Supports Vue 3.0+ and Vue 2.4+. For upgrades from older major versions, see the Vue 3 migration guide or Vue 2 migration guide.
Quick start
Vue 3.2+:
<script setup>
import { ref } from 'vue'
import { Fullscreen } from 'vue-fullscreen'
const isFullscreen = ref(false)
</script>
<template>
<Fullscreen v-model="isFullscreen">
<button @click="isFullscreen = !isFullscreen">Toggle fullscreen</button>
</Fullscreen>
</template>
For Vue 2, directives, API usage and more examples, see the Vue 3 guide or Vue 2 guide.
Star History
License
관련 프로젝트 살펴보기
불러오는 중…