Vue2.0 transition - Demo practice filling

Preface The transition system changes in vue1.0 and 2.0 versions are quite thorough. Please refer to the documentation for details. https://vuefe.cn/v2/guide/migration.html#transition . When using version 2.0 for transition effect, although it is much stronger than version 1.0, there are still some pits that should not be trampled ...

Posted on Sun, 14 Jul 2019 16:16:04 -0700 by don_s

Initial knowledge of EMCASCRIPT modularization

Why modularity is needed? When we call a js function in html, if we write this function in another js file, we need to introduce that js file in the head of HTML when we call it. index.html <head> <script type="text/javascript" src="index.js"></script> </head> <body> <h1 id="boy">Hello world</h1&gt ...

Posted on Sun, 14 Jul 2019 12:10:38 -0700 by sastro

Detailed Explanation of the Realization Process of Image Magnifier Effect

To meet the needs of the project, I wrote a detail page, the effect of the magnifying glass, threw the code on it for learning and sharing, and took daily notes as well. The effect is shown in the figure (in the example, the picture of Tiancat is secretly chained, hopefully nothing happens). -):   The implementation process is easy to teach, b ...

Posted on Sun, 14 Jul 2019 11:08:16 -0700 by nikes90

Angular 2 + Troubleshooting: (8) Handwriting an unreliable upload component

Preface Upload function plays an important role in any website. This article mainly talks about how to implement an upload component. Design sketch Functions Supported image format (default parameters are used without reference) Supported picture size Pictures will be compressed (front-end) - loaded asynchronously before uploading The ...

Posted on Fri, 12 Jul 2019 19:15:04 -0700 by Zooter

vue for carousel rotation

Colleagues get a design draft, is the rotation effect of the carousel, so I looked online and found Effect of jquery implementation , whenever you have time, look at the source code, study its implementation principle, and think about using vue's data-driven method to achieve one, but this effect is different from previous demo effect, each tim ...

Posted on Fri, 12 Jul 2019 10:15:18 -0700 by remote2

audio and video elements

Previous remarksHTML5 adds two new media-related tags that allow developers to embed cross-browser audio and video content in web pages without relying on any plug-ins. These tags are <audio> and <video> and are not supported by IE8-browser. Video files, for example, contain audio tracks, video tracks, and other metadata (cover ...

Posted on Thu, 11 Jul 2019 18:05:45 -0700 by Plakhotnik

Plupload upload plug-in details, multi-instance upload

Let's look at a more complete one. Plupload  Demo <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Plupload Guide to Use</title> <!-- First, it needs to be introduced. plupload Source code of --> <script src="js/plupload.full.min.js"></script> </hea ...

Posted on Thu, 11 Jul 2019 17:15:09 -0700 by tbone05420

Angular JS1.X Learning Notes 8 - Custom Directives (Part 1)

AngulaJS instructions are a very powerful feature. An ng-repeat can make it very convenient for us to display a list of data. Instructions are equivalent to a component, which provides us with the possibility of reuse by encapsulating something. Personally, I think the custom instructions are more complicated, so I will start to tackle the key ...

Posted on Thu, 11 Jul 2019 16:07:56 -0700 by goltoof

Angular JS1.X Learning Notes 13-Routing

ThinkPHP framework has the concept of routing. It seems that routing is more a back-end thing. How can Angular run out of a routing? In fact, Angular is focused on one-page applications. One of his applications is generally a page. The changes you see in the content of the page actually change only the content after the # of the URL address. Ro ...

Posted on Thu, 11 Jul 2019 11:15:06 -0700 by aman_batra

Promise Learning - Continue Updating

Explain A lot of Promise introductions were found on the Internet, and most of them ended up pointing to the official description of Promise. The official did not give the relevant case description for each sentence. I am dull in nature, unable to understand the meaning of the explanation, so I have to understand one sentence at a time, which ...

Posted on Wed, 10 Jul 2019 16:12:54 -0700 by gabrielserban