Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create v-fullscreen directive #269

Open
4 tasks done
qmhc opened this issue Feb 22, 2023 · 2 comments
Open
4 tasks done

Create v-fullscreen directive #269

qmhc opened this issue Feb 22, 2023 · 2 comments
Labels
feature New feature and request PR welcome Welcome to pull request

Comments

@qmhc
Copy link
Collaborator

qmhc commented Feb 22, 2023

Description

<template>
  <div v-fullscreen></div> <!-- default browser -->
  <div v-fullscreen="false"></div>
  <div v-fullscreen.window></div>
</template>

Validations

@qmhc qmhc added feature New feature and request PR welcome Welcome to pull request labels Feb 22, 2023
@qmhc qmhc closed this as completed in bb0f4af Feb 22, 2023
@qmhc qmhc reopened this Feb 28, 2023
@alphaelf
Copy link

Does the useFullscreen composable meet your needs?

@qmhc
Copy link
Collaborator Author

qmhc commented May 22, 2023

We have a hooks package https://github.com/vexip-ui/vexip-ui/tree/main/common/hooks which provides many hook methods for components.

Here is full screen hook: https://github.com/vexip-ui/vexip-ui/blob/main/common/hooks/src/full-screen.ts.

And FullScreen component also base on this hook.

The origin of v-fullscreen is to provide a shortcut to use FullScreen compoennt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature and request PR welcome Welcome to pull request
Projects
None yet
Development

No branches or pull requests

2 participants