Skip to content

Commit

Permalink
Update docs/reference/values.md
Browse files Browse the repository at this point in the history
Co-authored-by: LB (Ben Johnston) <[email protected]>
  • Loading branch information
tellodaniel and lb- authored Jul 19, 2023
1 parent 7456be4 commit 107813d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/values.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ You can read and write [HTML data attributes](https://developer.mozilla.org/en-U
</div>
```

The definition of the value data attribute should be specified in the same location as the controller data attribute.
Data attributes used for values must be declared on the controlled element, the same one that has the `data-controller `attribute.

<meta data-controller="callout" data-callout-text-value="static values = { url: String }">
<meta data-controller="callout" data-callout-text-value="this.urlValue">
Expand Down

0 comments on commit 107813d

Please sign in to comment.