摘要:
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <script src="vue.js"></script> <title id="title">{{title}}</title> </head> <body> <div 阅读全文
摘要:
附录:键盘Key Code对照表 代码: 阅读全文
摘要:
once:只执行一次 代码: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <script src="vue.js"></script> <title id="title">{{title}}</title> </hea 阅读全文
摘要:
stop属性:停止冒泡只执行到此处 self:只执行当前 代码: 阅读全文
摘要:
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <script src="vue.js"></script> <title id="title">{{title}}</title> </head> <body> <div id="ask"><!--vue不能控制body和html的标 阅读全文
摘要:
"v-on:"可以简写为"@" "click"单击 "dblclick"双加 代码: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <script src="vue.js"></script> <title id="ti 阅读全文
摘要:
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <script src="vue.js"></script> <title id="title">{{title}}</title> </head> <body> <div 阅读全文
摘要:
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <script src="vue.js"></script> <title id="title">{{title}}</title> </head> <body> <div 阅读全文
摘要:
{{title}} {{v.content}}删除 发表到前面 发表到后面 删除第一条 删除最后一条 阅读全文
摘要:
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <script src="vue.js"></script> <title id="title">{{title}}</title> </head> <body> <div 阅读全文