1
0
Эх сурвалжийг харах

add `x-ref` binding example (#2834)

Andrew Brown 3 жил өмнө
parent
commit
5e7c5f6d05

+ 1 - 0
packages/docs/src/en/directives/bind.md

@@ -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
                 },