Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo-mod-jslibs-dist.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'alpinejs/packages/docs/src/en/directives/bind.md')
-rw-r--r--alpinejs/packages/docs/src/en/directives/bind.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/alpinejs/packages/docs/src/en/directives/bind.md b/alpinejs/packages/docs/src/en/directives/bind.md
index 65074eb..357e025 100644
--- a/alpinejs/packages/docs/src/en/directives/bind.md
+++ b/alpinejs/packages/docs/src/en/directives/bind.md
@@ -159,7 +159,7 @@ And like most expressions in Alpine, you can always use the result of a JavaScri
`x-bind` allows you to bind an object of different directives and attributes to an element.
-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 directoves, callbacks to be evaluated by Alpine.
+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()">
@@ -174,6 +174,7 @@ The object keys can be anything you would normally write as an attribute name in
open: false,
trigger: {
+ ['x-ref']: 'trigger',
['@click']() {
this.open = true
},