create-slidev 0.48.0-beta.6 → 0.48.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/package.json +1 -1
- package/template/slides.md +38 -2
package/package.json
CHANGED
package/template/package.json
CHANGED
package/template/slides.md
CHANGED
|
@@ -239,13 +239,49 @@ theme: seriph
|
|
|
239
239
|
Read more about [How to use a theme](https://sli.dev/themes/use.html) and
|
|
240
240
|
check out the [Awesome Themes Gallery](https://sli.dev/themes/gallery.html).
|
|
241
241
|
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
# Clicks Animations
|
|
245
|
+
|
|
246
|
+
You can add `v-click` to elements to add a click animation.
|
|
247
|
+
|
|
248
|
+
<div v-click>
|
|
249
|
+
|
|
250
|
+
This shows up when you click the slide:
|
|
251
|
+
```html
|
|
252
|
+
<div v-click>This shows up when you click the slide.</div>
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
</div>
|
|
256
|
+
|
|
257
|
+
<br>
|
|
258
|
+
|
|
259
|
+
<v-click>
|
|
260
|
+
|
|
261
|
+
The <span v-mark.red="3"><code>v-mark</code> directive</span>
|
|
262
|
+
also allows you to add
|
|
263
|
+
<span v-mark.circle.orange="4">inline marks</span>
|
|
264
|
+
, powered by [Rough Notation](https://roughnotation.com/):
|
|
265
|
+
|
|
266
|
+
```html
|
|
267
|
+
<span v-mark.underline.orange>inline markers</span>
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
</v-click>
|
|
271
|
+
|
|
272
|
+
<div mt-20 v-click>
|
|
273
|
+
|
|
274
|
+
[Learn More](https://sli.dev/guide/animations#click-animations)
|
|
275
|
+
|
|
276
|
+
</div>
|
|
277
|
+
|
|
242
278
|
---
|
|
243
279
|
preload: false
|
|
244
280
|
---
|
|
245
281
|
|
|
246
|
-
#
|
|
282
|
+
# Motions
|
|
247
283
|
|
|
248
|
-
|
|
284
|
+
Motion animations are powered by [@vueuse/motion](https://motion.vueuse.org/), triggered by `v-motion` directive.
|
|
249
285
|
|
|
250
286
|
```html
|
|
251
287
|
<div
|