当前位置:网站首页>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>
边栏推荐
- PR 2021 quick start tutorial, how to create a new sequence and set parameters?
- The earliest record
- 第一章:递归求n的阶乘n!
- Web Security (VIII) what is CSRF attack? Why can token prevent csdf attacks?
- Zhang Fei hardware 90 day learning notes - personal record of day 3, please see my personal profile / homepage for the complete
- Next spread
- BOC protected amino acid porphyrins TAPP ala BOC, TAPP Phe BOC, TAPP Trp BOC, Zn · TAPP ala BOC, Zn · TAPP Phe BOC, Zn · TAPP Trp BOC Qiyue
- Xctf attack and defense world crypto advanced area best_ rsa
- Chapter 1: find the factorial n of n!
- BOC protected tryptophan zinc porphyrin (Zn · TAPP Trp BOC) / copper porphyrin (Cu · TAPP Trp BOC) / cobalt porphyrin (cobalt · TAPP Trp BOC) / iron porphyrin (Fe · TAPP Trp BOC) / Qiyue supply
猜你喜欢
2020 intermediate financial management (escort class)
Chapter 1: find all factorial sums, Grand Prix site unified programming, three factorial sums, graphic point scanning, recursive factorial n of n!, Find the factorial n of n!, King Shehan miscalculate
01. Preparation for automated office (free guidance, only three steps)
Chapter 1: seek common? Decimal and S (D, n)
Cesiumjs 2022 ^ source code interpretation [7] - Analysis of the request and loading process of 3dfiles
2022 - 06 - 30 networker Advanced (XIV) Routing Policy Matching Tool [ACL, IP prefix list] and policy tool [Filter Policy]
Sentinel source code analysis part I sentinel overview
Day_ 18 IO stream system
SQL injection for Web Security (1)
01 - QT OpenGL display OpenGL window
随机推荐
10 smart contract developer tools that miss and lose
第一章:求奇因数代数和,求同吗小数和s(d, n),简化同码小数和s(d, n),拓广同码小数和s(d, n)
Valentine's Day - make an exclusive digital collection for your lover
Day11 ---- 我的页面, 用户信息获取修改与频道接口
Chapter 2: find the classical solution of the maximum Convention and the least common multiple of a and B, find the conventional solution of the maximum Convention and the least common multiple of a a
第二章:4位卡普雷卡数,搜索偶数位卡普雷卡数,搜索n位2段和平方数,m位不含0的巧妙平方数,指定数字组成没有重复数字的7位平方数,求指定区间内的勾股数组,求指定区间内的倒立勾股数组
Difference between surface go1 and surface GO2 (non professional comparison)
Chapter 1: extend the same code decimal sum s (D, n)
Day10 ---- 强制登录, token刷新与jwt禁用
第一章:简化同码小数和s(d, n)
UE source code analysis: uccharactermovementcomponent - rootmotion
Comments on flowable source code (37) asynchronous job processor
P1891 crazy LCM (Euler function)
Chapter 1: simplify the same code decimal sum s (D, n)
Floating source code comment (38) parallel job processor
Random numbers in a long range, is that right- Random number in long range, is this the way?
第一章:求所有阶乘和数,大奖赛现场统分程序设计,三位阶乘和数,图形点扫描,递归求n的阶乘n!,求n的阶乘n!,舍罕王失算
Latex image rotates with title
2022-06-27 advanced network engineering (XII) IS-IS overhead type, overhead calculation, LSP processing mechanism, route revocation, route penetration
第一章:拓广同码小数和s(d, n)