Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo-mod-jslibs-dist.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'alpinejs/packages/docs/src/en/directives/text.md')
-rw-r--r--alpinejs/packages/docs/src/en/directives/text.md26
1 files changed, 0 insertions, 26 deletions
diff --git a/alpinejs/packages/docs/src/en/directives/text.md b/alpinejs/packages/docs/src/en/directives/text.md
deleted file mode 100644
index c42be95..0000000
--- a/alpinejs/packages/docs/src/en/directives/text.md
+++ /dev/null
@@ -1,26 +0,0 @@
----
-order: 6
-title: text
----
-
-# `x-text`
-
-`x-text` sets the text content of an element to the result of a given expression.
-
-Here's a basic example of using `x-text` to display a user's username.
-
-```alpine
-<div x-data="{ username: 'calebporzio' }">
- Username: <strong x-text="username"></strong>
-</div>
-```
-
-<!-- START_VERBATIM -->
-<div class="demo">
- <div x-data="{ username: 'calebporzio' }">
- Username: <strong x-text="username"></strong>
- </div>
-</div>
-<!-- END_VERBATIM -->
-
-Now the `<strong>` tag's inner text content will be set to "calebporzio".