Tag:mouse

  • Source code analysis and improvement of v-clickoutside

    Time:2021-3-8

    1. Preface Recently, we met a demand that the company needs to make a search selection component similar to Facebook. I plan to design it with the combination of El input and El cascade panel. In the design process, we refer to the source code of El cascade, in which the v-clickoutside custom instruction is […]

  • When you click table, each row will change color. When there are fixed columns,

    Time:2021-3-2

    1. HTML [email protected]=”rowClick” :row-class-name=”tableRowClassName” :row-style=”selectedHighlight” 2. JS code //Solve the problem that when the table has a fixed column, click and mouse hover, the row will change color tableRowClassName({ row, rowIndex }) { //Put the index of each row into row row.index = rowIndex; }, //Solve the problem that when the table has a fixed […]

  • Simplify the taskbar, make your taskbar more beautiful!

    Time:2021-2-27

    Link to the original text:https://xiaoheidiannao.com/articles/Optimization-For-Task-Bar.html catalog target Simplify taskbar Taskbar settings target taskbarThe goal of optimization is to minimizetaskbarTo remove the unnecessary icons, lettaskbarReach the simplest state. In addition, we can also carry out some personalized trainingtaskbarset up! Simplify taskbar in fact,taskbarThere are a lot of icons that don’t need to exist because they can […]

  • Starting from 0, an enhancement of radar chart supporting single axis carousel (solving the problem of ecarts single axis Carousel)

    Time:2021-2-25

    Online examplesIf you don’t know about canvas and what you want to talk about, I suggest you start from the first article:Write a radar chart that supports single axis rotation from 0In the first article, we have talked about how to realize the carousel. Here we will use this article to discuss the realization of […]

  • Technical summary: WinForm DataGridView operation column of C

    Time:2021-2-23

    DataGridView in WinForm framework is the same as table in HTML. But the difference is that there is no concept of operation column in the native DataGridView. The default column types are drop-down box, text, button, picture and link. If you need other styles, you need to rewrite them. In fact, most of the requirements […]

  • Why is your computer getting more and more stuck? Probably because of this!

    Time:2021-2-22

    Link to the original text:https://xiaoheidiannao.com/articles/SoftWare-Self-Start.html More computer skills can be found athttps://xiaoheidiannao.comCheck it out! catalog introduce Disable software self starting The software starts automatically introduce SoftwareThat is to say, self-improvementSoftwarePower on and self starting refers toSoftwarealong withoperating systemStart together. Sometimes I feel like I didn’t turn it on after I turned it onSoftwareI don’t know […]

  • Why is your computer getting more and more stuck? Probably because of this!

    Time:2021-2-22

    Link to the original text:https://xiaoheidiannao.com/articles/SoftWare-Self-Start.html More computer skills can be found athttps://xiaoheidiannao.comCheck it out! catalog introduce Disable software self starting The software starts automatically introduce SoftwareThat is to say, self-improvementSoftwarePower on and self starting refers toSoftwarealong withoperating systemStart together. Sometimes I feel like I didn’t turn it on after I turned it onSoftwareI don’t know […]

  • 1. Find sibling elements

    Time:2021-2-16

    Making navigation display submenu with JS HTML: about skill works works1 works2 works3 Blog Blog1 Blog2 Blog3 calendar contact information other     JS: let aTages = document.getElementsByClassName(‘menutrigger’) console.log(aTages) for(let i = 0; i < aTages.length; i++){ aTages[i].onmouseenter = function(x){ console.log(‘mouseenter’) Let a = x.currenttarget // here, we don’t use x.target or atages [i] because […]

  • Realization of Zhihu particle beam

    Time:2021-2-16

    Recently I started canvas, and I just saw the implementation of a Zhihu particle beam. I thought it was very interesting, so I did it myself. The original effect is implemented with ES6, and I will use the syntax of ES6 in this article. However, some people may not be familiar with the syntax of […]

  • Realization of Zhihu particle beam

    Time:2021-2-15

    Recently I started canvas, and I just saw the implementation of a Zhihu particle beam. I thought it was very interesting, so I did it myself. The original effect is implemented with ES6, and I will use the syntax of ES6 in this article. However, some people may not be familiar with the syntax of […]

  • Implementation of warning message box in Windows Form

    Time:2021-2-14

    Warning message box is mainly used to show users such as warning, exception, completion and prompt messages. The general effect is to pop up from the lower right corner of the system window, and then add some simple display and disappear animation. Create a warning box window First, we create a warning box window (form), […]

  • Vue.js Desktop virtual scroll bar

    Time:2021-2-13

    introduce Vscroll is a software based on vue2. XDesktop PC side custom simulation scroll bar component. supportCustomize whether the original scroll bar, auto hide, scroll bar size, level and colorAnd other functions. With silky original scroll bar experience! In addition to vertical scrollbars, horizontal scrollbars are also supported. It’s very easy to use, just need […]