ソースを参照

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