Dynamic components of vue2 learning

catalogue 1 dynamic components 1.1 use of internal component component 1.1.1 concept and use 1.1.2 screenshot of operation 1.2 use of internal components keep alive components 1.2.1 concept and use 1.2.2 which life cycle does it run in vue? 1.2.3 registered name and name of the component 1 dynamic components 1.1 use of internal comp ...

Posted by simply07 on Wed, 03 Aug 2022 21:43:56 +0300

Chapter 6 of Vue.js actual combat Form and v-model

title: Chapter 6 Form and v-model tags: 2019-11-30 notebook: Vue 6.1 basic usage v-model is used for bidirectional data binding on form elements: for example, the content entered in the input box will be mapped to the data on Bondi 6.1.1 attention After using v-module, the value displayed in the control of the form is only related to the bound ...

Posted by aahh on Wed, 25 May 2022 20:59:20 +0300

300 lines of code to realize the MVVM responsive principle of Vue

preface Source download Vue's responsive principle is an old interview question, and most people will choose to recite the answer directly to deal with the interview. Once the interviewer continues to ask questions, he can't answer anything. Therefore, I hope to write code (about 300 lines) to implement a simple Vue MVVM framework by referring ...

Posted by superdezign on Wed, 25 May 2022 19:16:48 +0300

Understanding of virtual DOM in Vue

Understanding of virtual DOM in Vue Virtual DOM is a tree based on JavaScript objects. Each node is called VNode, and the node is described by object attributes. In fact, it is an abstraction of the real DOM. Finally, the tree can be mapped to the real DOM through rendering operations. In a real environment, Virtual DOM is simply a Js object th ...

Posted by yeldarb on Wed, 25 May 2022 11:19:55 +0300

Picture upload and preview function

This time I share the problems of image upload and preview encountered in my work Because we use the weex framework for development (weex is an old and abandoned framework), we do not support some easy-to-use ui libraries such as El ui, which are popular and have rich functions. Therefore, we use the native input (type = file) when solving the ...

Posted by nikefido on Tue, 24 May 2022 08:46:59 +0300

vue calculated attribute

vue calculated attribute (1) Basic example Sometimes we need to use the data a in the template. At this time, we need to use the expression, but in some places, we need to do some simple processing on the data a before we can use it. Then we will write some js logical operations in the expression. For example, now we need to realize the calcula ...

Posted by msing on Tue, 24 May 2022 04:56:29 +0300

Detailed explanation of native JavaScript events!!!

JQuery, a Write Less Do More framework, will inevitably look up to native js when used too much. Xiaocai actually doesn't want to write this blog. It seems very elementary, but seeing that the binding and lifting of native js events on the network can't be understood, he decided to popularize science. First of all, I don't know much about sma ...

Posted by netmastan on Mon, 23 May 2022 07:34:38 +0300

Imitating the source code of Tiktok short video system to take photos and videos based on CameraX

Background: Recently, I was working on an APP video upload project. Due to the use of my own server, there are certain memory restrictions. At present, most mobile phones have a large resolution, and the video captured is several megabytes in a few seconds. How to compress the recorded video is the same as wechat. Therefore, I consulted some ma ...

Posted by Loldongs on Mon, 23 May 2022 01:13:51 +0300

Spring MVC + Vue project personal health information management system

Get the source code at the end Development language: Java Development tool: IDEA/ Eclipse Database: mysql5 seven Application service: Tomcat7/Tomcat8 use framessm+vue JDK version: jdk1.0 eight Preface introduction System management will also carry out overall intelligent operation through computers. There are many management and ...

Posted by Daveyz83 on Sun, 22 May 2022 02:18:24 +0300

The use of el-checkbox-group multi-select box group in ElementUI, how to set a group of options and get the selected value

Scenes final effect     The checkbox-group element can manage multiple checkboxes into a group, just use v-model in Group to bind variables of type Array. The label attribute of el-checkbox is the value corresponding to the checkbox. If there is no content in the label, this attribute also acts as an introduction after the checkbox button. The ...

Posted by nickiehow on Sun, 22 May 2022 01:06:40 +0300