diff --git a/packages/docs/src/en/directives/bind.md b/packages/docs/src/en/directives/bind.md index 7c84c9c4b..cc5b81d1f 100644 --- a/packages/docs/src/en/directives/bind.md +++ b/packages/docs/src/en/directives/bind.md @@ -162,7 +162,7 @@ And like most expressions in Alpine, you can always use the result of a JavaScri 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. ```alpine -<div x-data="dropdown()"> +<div x-data="dropdown"> <button x-bind="trigger">Open Dropdown</button> <span x-bind="dialogue">Dropdown Contents</span>