Skip to content

Commit cfe9499

Browse files
authored
Remove unnecessary parentheses from bind.md example (#4363)
1 parent ab743bc commit cfe9499

File tree

1 file changed

+1
-1
lines changed
  • packages/docs/src/en/directives

1 file changed

+1
-1
lines changed

packages/docs/src/en/directives/bind.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ And like most expressions in Alpine, you can always use the result of a JavaScri
162162
The object keys can be anything you would normally write as an attribute name in Alpine. This includes Alpine directives and modifiers, but also plain HTML attributes. The object values are either plain strings, or in the case of dynamic Alpine directives, callbacks to be evaluated by Alpine.
163163

164164
```alpine
165-
<div x-data="dropdown()">
165+
<div x-data="dropdown">
166166
<button x-bind="trigger">Open Dropdown</button>
167167
168168
<span x-bind="dialogue">Dropdown Contents</span>

0 commit comments

Comments
 (0)