create-slidev 0.48.9 → 0.49.0-beta.1
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 +37 -0
package/package.json
CHANGED
package/template/package.json
CHANGED
package/template/slides.md
CHANGED
|
@@ -559,6 +559,43 @@ database "MySql" {
|
|
|
559
559
|
|
|
560
560
|
[Learn More](https://sli.dev/guide/syntax.html#diagrams)
|
|
561
561
|
|
|
562
|
+
---
|
|
563
|
+
foo: bar
|
|
564
|
+
dragPos:
|
|
565
|
+
square: 691,33,167,_,-16
|
|
566
|
+
---
|
|
567
|
+
|
|
568
|
+
# Draggable Elements
|
|
569
|
+
|
|
570
|
+
Double-click on the draggable elements to edit their positions.
|
|
571
|
+
|
|
572
|
+
<br>
|
|
573
|
+
|
|
574
|
+
###### Directive Usage
|
|
575
|
+
|
|
576
|
+
```md
|
|
577
|
+
<img v-drag="'square'" src="https://sli.dev/logo.png">
|
|
578
|
+
```
|
|
579
|
+
|
|
580
|
+
<br>
|
|
581
|
+
|
|
582
|
+
###### Component Usage
|
|
583
|
+
|
|
584
|
+
```md
|
|
585
|
+
<v-drag text-3xl>
|
|
586
|
+
<carbon:arrow-up />
|
|
587
|
+
Use the `v-drag` component to have a draggable container!
|
|
588
|
+
</v-drag>
|
|
589
|
+
```
|
|
590
|
+
|
|
591
|
+
<v-drag pos="671,205,253,_,-15">
|
|
592
|
+
<div text-center text-3xl border border-main rounded>
|
|
593
|
+
Double-click me!
|
|
594
|
+
</div>
|
|
595
|
+
</v-drag>
|
|
596
|
+
|
|
597
|
+
<img v-drag="'square'" src="https://sli.dev/logo.png">
|
|
598
|
+
|
|
562
599
|
---
|
|
563
600
|
src: ./pages/multiple-entries.md
|
|
564
601
|
hide: false
|