Vue 监听鼠标左键 鼠标右键以及鼠标中键修饰符click.left&contextmenu&click.middle

  作者: thtomatic  分类: Vue   评论: [ 0 ] 条  浏览: [ 4169 ] 次

代码:

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="vue.js"></script>
    <title id="title">{{title}}<...

阅读全文>>


Vue 监听键盘,键盘修饰符keyup

  作者: thtomatic  分类: Vue   评论: [ 0 ] 条  浏览: [ 937 ] 次

代码:


<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="vue.js"></script>
    <title id="title">{{title}}<...


阅读全文>>


Vue 修饰符once的方法使用

  作者: thtomatic  分类: Vue   评论: [ 0 ] 条  浏览: [ 1628 ] 次

once:只执行一次

代码:

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="vue.js"></script>
    <title id="title"&g...

阅读全文>>


Vue STOP&SELF方法使用

  作者: thtomatic  分类: Vue   评论: [ 0 ] 条  浏览: [ 1047 ] 次

stop属性:停止冒泡只执行到此处

self:只执行当前

代码:

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="vue.js"></script>
    &l...

阅读全文>>


Vue 时间修饰符之使用$event和prevent修饰符操作表单

  作者: thtomatic  分类: Vue   评论: [ 0 ] 条  浏览: [ 799 ] 次

具体要看效果视频 用文字不好理解

代码:

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="vue.js"></script>
    <title id="tit...

阅读全文>>


Vue 事件的基本使用与语法差异

  作者: thtomatic  分类: Vue   评论: [ 0 ] 条  浏览: [ 639 ] 次

"v-on:"可以简写为"@"

"click"单击

"dblclick"双加

代码:

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="vue.js">&...

阅读全文>>


Vue 变异方法filter和正则RegExp对评论进行搜索

  作者: thtomatic  分类: Vue   评论: [ 0 ] 条  浏览: [ 915 ] 次

代码:

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="vue.js"></script>
    <title id="title">{{title}}<...

阅读全文>>


Vue 变异方法sort&reverse对评论进行排序

  作者: thtomatic  分类: Vue   评论: [ 0 ] 条  浏览: [ 828 ] 次

代码:

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="vue.js"></script>
    <title id="title">{{title}}<...

阅读全文>>


Vue 变异方法splice删除评论功能

  作者: thtomatic  分类: Vue   评论: [ 0 ] 条  浏览: [ 1006 ] 次

代码:

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="vue.js"></script>
    <title id="title">{{title}}<...

阅读全文>>


Vue 变异方法unshift&pop&shift

  作者: thtomatic  分类: Vue   评论: [ 0 ] 条  浏览: [ 2118 ] 次

代码:


<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="vue.js"></script>
    <title id="title">{{title}}<...


阅读全文>>


    12.52ms