当前位置:网站首页>2. Template syntax
2. Template syntax
2022-07-03 19:38:00 【Shura MIUI】
Template syntax
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title> Template syntax </title>
<script type="text/javascript" src="./vue.js"></script>
</head>
<body>
<div id="root">
<h1> Interpolation Syntax : Used to parse the contents of the tag body </h1>
<h3> Hello ,{
{
name}}</h3>
<hr>
<h1> Instruction syntax : For parsing ( Tag attributes 、 Label content , The binding event )</h1>
<!--v-??? There are many kinds of -->
<!--v-bind:href The in will be treated as an expression rather than a string -->
<a v-bind:href="school.url">{
{
school.name}}</a>
<!--v-bind:href Abbreviation =':'-->
<a :href="web.url">{
{
web.name}}</a>
<!-- Call expression -->
<!-- <a v-bind:href="url.toUpperCase()"></a> -->
</div>
</body>
</html>
<script type="text/javascript">
Vue.config.productionTip = false;
new Vue({
el: '#root',
data: {
name: 'jack',
school: {
name: ' Guangzhou Vocational College ',
url: 'https://www.gdpt.edu.cn/'
},
web: {
name: ' Baidu ',
url: 'https://www.baidu.com/'
}
}
})
</script>
边栏推荐
- 第一章:递归求n的阶乘n!
- Chapter 1: recursively find the factorial n of n!
- Chapter 2: find the box array, complete number in the specified interval, and improve the complete number in the specified interval
- Utilisation de base du cadre unitest
- 05 -- QT OpenGL draw cube uniform
- Foundation of ActiveMQ
- 第一章:喝汽水,阶梯电费计算,阶梯电费计算函数,个人所税,求解平方根不等式,简化求解平方根不等式,求解调和级数不等式,解不等式:d<1+1/2-1/3+1/4+1/5-1/6+..士1/n
- Using the visualization results, click to appear the corresponding sentence
- Bright purple crystal meso tetra (4-aminophenyl) porphyrin tapp/tapppt/tappco/tappcd/tappzn/tapppd/tappcu/tappni/tappfe/tappmn metal complex - supplied by Qiyue
- 2022-06-25 网工进阶(十一)IS-IS-三大表(邻居表、路由表、链路状态数据库表)、LSP、CSNP、PSNP、LSP的同步过程
猜你喜欢

SQL injection for Web Security (1)

Native table - scroll - merge function
![[wallpaper] (commercially available) 70 wallpaper HD free](/img/21/6802da1056a18157b15de85df60cf5.jpg)
[wallpaper] (commercially available) 70 wallpaper HD free

Chapter 1: sum of three factorials, graph point scanning

Octopus online ecological chain tour Atocha protocol received near grant worth $50000

2022-06-30 網工進階(十四)路由策略-匹配工具【ACL、IP-Prefix List】、策略工具【Filter-Policy】

Valentine's Day - make an exclusive digital collection for your lover

Ae/pr/fcpx super visual effects plug-in package fxfactory

Chapter 2: find the box array, complete number in the specified interval, and improve the complete number in the specified interval

Think of new ways
随机推荐
Buuctf's different flags and simplerev
Summary of learning materials and notes of Zhang Fei's actual combat electronics 1-31
第一章:求n的阶乘n!
TFs and SVN [closed] - TFs vs SVN [closed]
第二章:求长方体数组,指定区间内的完全数,改进指定区间内的完全数
This Chinese numpy quick look-up table is too easy!
2022-06-27 网工进阶(十二)IS-IS-开销类型、开销计算、LSP的处理机制、路由撤销、路由渗透
02 -- QT OpenGL drawing triangle
Chapter 1: find the algebraic sum of odd factors, find the same decimal sum s (D, n), simplify the same code decimal sum s (D, n), expand the same code decimal sum s (D, n)
Typora charges, WTF? Still need support
2022-06-30 advanced network engineering (XIV) routing strategy - matching tools [ACL, IP prefix list], policy tools [filter policy]
NFT without IPFs and completely on the chain?
PR 2021 quick start tutorial, how to create a new sequence and set parameters?
Chapter 1: sum of three factorials, graph point scanning
The way to treat feelings
Day10 ---- 强制登录, token刷新与jwt禁用
Strict data sheet of new features of SQLite 3.37.0
第一章:求奇因数代数和,求同吗小数和s(d, n),简化同码小数和s(d, n),拓广同码小数和s(d, n)
第二十章:y= sin(x)/x,漫步坐标系计算,y= sin(x)/x 带廓幅图形,奥运五环,小球滚动与弹跳,流水显示,矩形优化裁剪,r个皇后全控nxn棋盘
第一章:递归求n的阶乘n!