You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -326,15 +326,15 @@ Note if the link set is an external link and you set the target of the link to b
326
326
327
327
### Simple Example
328
328
```cshtml
329
-
<our-link="@Model.ctaLink">
329
+
<our-link link="@Model.ctaLink">
330
330
<h2>Hi There</h2>
331
331
</our-link>
332
332
```
333
333
334
334
Alternatively if you use the `<our-link>` without child DOM elements then it will use the `Title` property of the link in the Multi Url Picker property editor to create the anchor tag.
335
335
336
336
```cshtml
337
-
<our-link="@Model.ctaLink"></our-link>
337
+
<our-link link="@Model.ctaLink"></our-link>
338
338
```
339
339
340
340
With this tag helper the child DOM elements inside the `<our-link>` is wrapped with the `<a>` tag
0 commit comments