Переглянути джерело

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

Andrew Brown 3 роки тому
батько
коміт
5e7c5f6d05
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      packages/docs/src/en/directives/bind.md

+ 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,
             open: false,
 
 
             trigger: {
             trigger: {
+                ['x-ref']: 'trigger',
                 ['@click']() {
                 ['@click']() {
                     this.open = true
                     this.open = true
                 },
                 },