Front-end
1, Bidirectional binding The previous instructions and {{}} are one-way binding. After the user actively enters the content in the text box, if the binding method is used: value="str", the content entered by the user cannot be automatically saved back to the variables in the program. This is beUTF-8...
Posted by iBuddy on Mon, 18 Oct 2021 06:39:43 +0530
1. Version and problems When I use nodejs and Vue to build the front-end interface, I want to directly implement the function of sending mail in one interface. Therefore, I wanted to reduce the trouble at that time. I directly introduced the nodemailer package into the Vue project, and then a UTF-8...
Posted by jmoreno on Mon, 18 Oct 2021 07:38:20 +0530
Today we'll review all DOM methods for finding elements in a page. catalogue getElementById() – find elements by IDgetElementsByName() – find the element through the name attribute on the taggetElementsByTagName() - finds an element by tag namegetElementsByClassName() - finds an element by its UTF-8...
Posted by scritpkid on Tue, 19 Oct 2021 01:06:11 +0530
In the development using element UI, it is often used to verify the fields of dynamically created forms, such as adding multiple forms similar to cards, and the fields in them need to be verified. At this time, dynamic form verification should be used. There are examples written in the officialUTF-8...
Posted by TheFreak on Tue, 19 Oct 2021 10:38:40 +0530
config information configuration git view some configurations git config --list git config -l git view global configuration git config --global --list git config --global --l View the specific configuration by adding specific items, as follows: git view global user name git config --global userUTF-8...
Posted by JDcrack on Tue, 19 Oct 2021 11:58:40 +0530
HTML 1, Background: 1. What is HTML HTML is the abbreviation of Hyper Text Markup Language, which means hypertext markup language. The so-called hypertext means that in addition to text, other markup can be carried out, such as various media elements. 2. Development of HTML HTML5 is currently uUTF-8...
Posted by pbeerman on Wed, 20 Oct 2021 08:15:05 +0530
1. String Common API s // String Common API s let str = 'China|Guangdong|Guangzhou|Tianhe|Dark horse' // 1. Decomposition strings according to symbols: get an array, string. split('delimiter') let arr = str.split('|') // ['China','Guangdong','Guangzhou','Tianhe','Black Horse'] // 2. Intercept sUTF-8...
Posted by gordonrp on Wed, 20 Oct 2021 21:50:09 +0530
catalog: Scope Scope classificationLHS&RHSClaim promotionVariable promotion function Function definitionFunction nameFunction parametersFunction promotion Scope: As we all know, js scope is divided into two categories: global scope and local (function) scope. Global scope: the variable defined UTF-8...
Posted by digitalbart2k on Thu, 21 Oct 2021 05:01:48 +0530
Why can't the value received by props be printed in created In the project, we often use props to pass values. Often, the parent component passes a value to the child component, and then we want to use the value received by props in the child component. However, when we print in created and mouUTF-8...
Posted by xuelun on Thu, 21 Oct 2021 07:03:15 +0530
1, What is Promise 2, Promise usage 1. Basic use (1) Promise not used Let's use the timer setTimeout to simulate asynchronous operation and see the role of Promise. //setTimeout: two parameterUTF-8...
Posted by sasquatch69 on Thu, 21 Oct 2021 18:57:29 +0530