-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Xicheng Guo
committed
Jul 15, 2024
1 parent
6ecf399
commit 84c6a2c
Showing
2 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 插值表达式 | ||
|
||
## 什么是插值表达式 | ||
|
||
插值表达式允许在 HTML 模版中使用双大括号 `{{}}` 包裹 Javascript 表达式,表达式的值会被直接插入到模版中。 | ||
|
||
## 插值表达式的使用 | ||
|
||
所有可以被求值的 Javascript 代码都可以用在插值表达式中,例如:文本内容、三元表达式、数字计算、函数调用等。 | ||
|
||
<<< @/../projects/vue-sandbox/src/components/TemplateSyntax/Interpolation.vue |