Fix Snippet.attr() webpage URLs.
This commit is contained in:
parent
3487947e83
commit
674112a9de
1 changed files with 2 additions and 2 deletions
|
@ -10,10 +10,10 @@ Snippet snippet.attr(
|
|||
)
|
||||
```
|
||||
|
||||
This `Snippet.attr()` method calls [`Attributes.add()`](./attributes#add) under the hood,
|
||||
This `Snippet.attr()` method calls [`Attributes.add()`](/reference/api/attributes/add) under the hood,
|
||||
but returns the Snippet object. This allows you to chain different calls together.
|
||||
|
||||
If the third parameter is set to `true` it will call [`Attributes.set()`](./attributes#set) instead,
|
||||
If the third parameter is set to `true` it will call [`Attributes.set()`](/reference/api/attributes/set) instead,
|
||||
thereby overwriting the value of the attribute.
|
||||
|
||||
<Example part="snippet_attr">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue