瀏覽代碼

Remove x-if in transition.md

decaylala 4 年之前
父節點
當前提交
f5db1f581c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/docs/src/en/directives/transition.md

+ 1 - 1
packages/docs/src/en/directives/transition.md

@@ -15,7 +15,7 @@ There are two primary ways to handle transitions in Alpine:
 <a name="the-transition-helper"></a>
 ## The transition helper
 
-The simplest way to achieve a transition using Alpine is by adding `x-transition` to an element with `x-show` or `x-if` on it. For example:
+The simplest way to achieve a transition using Alpine is by adding `x-transition` to an element with `x-show` on it. For example:
 
 ```html
 <div x-data="{ open: false }">