Explorar o código

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

Andrew Brown %!s(int64=3) %!d(string=hai) anos
pai
achega
5e7c5f6d05
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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
                 },