Vue.js source code analysis instructions v-for instructions

We can use the v-for instruction to render a list based on an array. There are five ways to use it, as follows: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script> &l ...

Added by Randy Jackson on Sun, 03 Nov 2019 05:40:19 +0200

Very simple JS carousel effect

1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Rotation chart</title> 6 <style> 7 * { 8 margin: 0; 9 padding: 0; 10 } 11 12 .banner { 13 width: 100%; 14 ...

Added by ihw13 on Sat, 02 Nov 2019 02:54:16 +0200

[JS pocket book] Chapter 11: use of HTML forms and localStorage

By valentinogagliardiTranslator: front-end witSource: github Alibaba cloud server is very cheap and popular. This year, it is cheaper than last year. From October 24 to November 11, the purchase cost is 86 yuan in one year and 229 yuan in three years. You can click the following link to participate:https://www.aliyun.com/1111/2... In order to ...

Added by andre3 on Fri, 01 Nov 2019 16:15:02 +0200

Parent style deep overlay assembly in Vue

The reason for the project is that xhcj component is needed in the parent list component of the sub component, and xhcj component is also used in the sub component. The code logic of the two places is the same, only the style is slightly different, so it is decided to share the component, and then ov ...

Added by Phate on Fri, 01 Nov 2019 14:40:38 +0200

[Solution & reason] data cannot be transferred to the background after the disabled attribute is added to the input tag.

When modifying personal information in the implementation project, the personal ID and username cannot be modified according to my logic. So we added disabled to the input tag to make it unmodifiable. But after pressing the button, instead of the data being sent to the background, the correspond ...

Added by tobykw13 on Fri, 01 Nov 2019 10:04:08 +0200

Flutter learning notes - basic components

Make complaints Last week I watched the basic components of flutter, mainly the videos and official documents of b station with fat technology. After reading them, I thought it would be better to learn dart grammar first and then learn it. It's hard to have an exam tomorrow. I have to review t ...

Added by captain_scarlet87 on Fri, 01 Nov 2019 01:09:34 +0200

Transition animation in vue

Preface Remember to use transition and transition group to set transition animation in vue component once. In summary, it can be divided into name version, js hook operation class name version, js hook operation inline style version. Template template structure // Single element <transition name="Custom name"> <p v-if="show ...

Added by quintin on Thu, 31 Oct 2019 14:43:32 +0200

What? You still don't use DataWorks scheduling?

Friends who have read interactive analysis of six pulse sword (portal: The initial experience of HoloStudio in interactive analysis of six pulse sword )It should be known that HoloStudio, a one-stop development platform based on interactive analysis engine, is deeply integrated into dataworks. With the support of dataworks's powerful function b ...

Added by r3drain on Thu, 31 Oct 2019 03:31:50 +0200

Peggy's Bracelet (matrix multiplication)

.... Title: Title: Analysis: Code: Title: Portal Title: Pachuli has a bracelet. There are two kinds of beads that can make up the bracelet. One is metal and the other is wood. When the beads adjacent to the gold beads, they will emit gold. Now, let's ask how many schemes can make the whole B ...

Added by nutstretch on Wed, 30 Oct 2019 22:37:08 +0200

The direction of this in class

When learning react recently, because react uses class to build components, it's a bit confused about the direction of this in class. Now make a summary. Binding priority of this There are four ways to bind this, and the priority decreases step by step.The essence of this is: this has nothing to do with scope, only with execution context. 1. Ca ...

Added by ziong on Tue, 29 Oct 2019 13:19:46 +0200