hotkey
Description
Optional. Specifies a hotkey combination to toggle fullscreen modeUsage
hotkey?: string;
Parameters
The property values are the following:
- A string representing a combination of keys, e.g. "ctrl+shift+f"
- If omitted, no hotkey is assigned by default
Example
<script setup>
import { Fullscreen } from '@svar-ui/vue-core';
</script>
<template>
<Fullscreen hotkey="ctrl+shift+f">
<div>
Fullscreen content
</div>
</Fullscreen>
</template>
Related article: Fullscreen