Skip to content

Commit 5776110

Browse files
committed
Update slides.md
1 parent b7d6c6c commit 5776110

File tree

1 file changed

+37
-3
lines changed

1 file changed

+37
-3
lines changed

slides.md

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,49 @@ mdc: true
139139
color="red" arc="-0.4"
140140
/>
141141

142-
Use `pos1` and `pos2` to specify the anchor point on the snapped elements.
142+
<FancyArrow
143+
x1="0" y1="0"
144+
id2="anchor-example"
145+
pos2="center"
146+
color="red" arc="-0.4"
147+
/>
148+
149+
<FancyArrow
150+
x1="0" y1="0"
151+
id2="anchor-example"
152+
pos2="bottomright"
153+
color="red" arc="-0.4"
154+
/>
155+
156+
<div mx-8>
157+
Use `pos1` and `pos2` to specify the anchor point on the snapped elements.
158+
</div>
159+
160+
<div mx-auto mt-60 grid="~ cols-3 gap-4">
161+
162+
```html {4}
163+
<FancyArrow
164+
x1="0" y1="0"
165+
id2="anchor-example"
166+
pos2="left"
167+
color="red" arc="-0.4"
168+
/>
169+
```
143170

144-
<div mx-auto mt-60>
171+
```html {4}
172+
<FancyArrow
173+
x1="0" y1="0"
174+
id2="anchor-example"
175+
pos2="center"
176+
color="red" arc="-0.4"
177+
/>
178+
```
145179

146180
```html {4}
147181
<FancyArrow
148182
x1="0" y1="0"
149183
id2="anchor-example"
150-
pos2="topleft"
184+
pos2="bottomright"
151185
color="red" arc="-0.4"
152186
/>
153187
```

0 commit comments

Comments
 (0)