slidev-component-spotlight
slidev-component-spotlight
Key activable spotlight for Slidev.

Hold Shift to activate the spotlight (can be customized).
Also works in presenter mode.
Installation
npm i slidev-component-spotlight
Configuration
Define this package into your slidev addons.
In your slides metadata (using frontmatter):
---
addons:
- slidev-component-spotlight
---
Or in your package.json:
{
"slidev": {
"addons": [
"slidev-component-spotlight"
]
}
}
Usage
Create a ./global-top.vue file in your Slidev project and use the component:
<template>
<SlidevSpotlight/>
</template>
Components
SlidevSpotlight
Component that displays the pager:
<SlidevSpotlight/>
Parameters:
activationKey(type:string, default:'Shift'): The key to hold down to activate the spotlightcolor(type:string, default:'black'): CSS color of the spotlight shadowopacity(type:number | string, default:0.75): Opacity of the spotlight shadowsize(type:string, default:100px): Size of the spotlighttransitionDuration(type:string, default:200ms): CSS transition durations
Related Packages
@olzhas-adiyatov/slidev-addon-asciinema
A fork of the slidev addon to embed asciinema casts to presentations. In this fo...
797
0
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.1.0 | ^3.2.24 | MIT | |
| 1.0.3 | ^3.2.24 | GPL | |
| 1.0.2 | ^3.2.24 | GPL | |
| 1.0.1 | ^3.2.27 | GPL | |
| 1.0.0 | ^3.2.34 | GPL | |
| 0.3.1 | ^3.2.27 | GPL | |
| 0.3.0 | ^3.2.27 | GPL | |
| 0.2.1 | ^3.2.27 | GPL | |
| 0.2.0 | ^3.2.27 | GPL | |
| 0.1.1 | ^3.2.27 | GPL | |
| 0.1.0 | ^3.2.27 | GPL |