浏览代码

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