Explorar o código

Fix in docs about x-if directive (#1943)

Koen %!s(int64=4) %!d(string=hai) anos
pai
achega
d5aa30c338
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/docs/src/en/directives/if.md

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

@@ -5,7 +5,7 @@ title: if
 
 # `x-if`
 
-`x-if` is used for toggling elements on the page, similarly to `x-show`, however it completely adds and removes the element it's applied to rather than just changing its CSS display property to "hidden".
+`x-if` is used for toggling elements on the page, similarly to `x-show`, however it completely adds and removes the element it's applied to rather than just changing its CSS display property to "none".
 
 Because of this difference in behavior, `x-if` should not be applied directly to the element, but instead to a `<template>` tag that encloses the element. This way, Alpine can keep a record of the element once it's removed from the page.