On javascript -- a taste of TypeScript
1, Overview
Concept: TypeScript is a superset of JavaScript and supports ES6, Microsoft and open source programming languagescharacteristic:
Debugging and maintenance: there are input prompts, syntax and logic error warningsType restriction: compilation errorWrite multi version output at one time: it can be compiled into various JS vers ...
Added by Cypher87 on Sun, 13 Feb 2022 17:17:27 +0200
Web Components family - life cycle of custom components
prefaceWhat is the "life cycle"? As the name suggests, the life cycle refers to the whole process of an object from before its birth to after its demise. Of course, the specific stages of the life cycle of different objects may be different.When we use the front-end component framework, we all know that each component has its own life ...
Added by oshecho on Sun, 13 Feb 2022 17:07:48 +0200
JavaScript node operation
Node overview
All contents in a web page are nodes (labels, attributes, text, comments, etc.), and nodes are represented by nodes in DOM.
All nodes in the HTML DOM tree can be accessed through JavaScript, and all HTML elements (nodes) can be modified, created or deleted.
Generally, a node has at least three basic attributes: nodeType, no ...
Added by laide234 on Sun, 13 Feb 2022 15:40:16 +0200
Understand React Hooks and several commonly used hook functions
Write in frontReact Hooks is a new mechanism launched by the react team in version 16.8 two years ago. As the most mainstream front-end framework, react's API is very stable. The release of this update shocked many front-end bosses who fear the new wheel. After all, each update is a high-cost learning. Is it easy to use?The answer is easy to us ...
Added by KaFF on Sun, 13 Feb 2022 14:42:06 +0200
[VUE project practice] 36. User role assignment function
Continued< 35. Permissions under editing role (II)> In the previous article, we completed the effect of assigning new permissions to roles and saving them. In this article, we complete the function of assigning roles to users.
1, Complete the loading of the dialog box and the role to be assigned
When we open the user list page (User.vue ...
Added by ihw13 on Sun, 13 Feb 2022 13:34:23 +0200
How to customize directive in vue
catalogue
1, What is a custom directive
2, How to customize instructions
3, Application scenario
1, What is a custom directive
The in-line attributes at the beginning of v-are all instructions. Different instructions can complete or implement different functions. When performing bottom-level operations on ordinary DOM elements, custom ...
Added by bbreslauer on Sun, 13 Feb 2022 12:53:50 +0200
Wechat applet learning notes
It's also a video from the dark horse tutorial
introduction
Create applet
Open website https://mp.weixin.qq.com/ Register.
Obtain AppID;
Open developer tools:
The agent mode is recommended to be changed to not applicable to any agent. After checking, it is directly connected to the network. Select a new project, fill in the project name ...
Added by globalinsites on Sun, 13 Feb 2022 09:46:38 +0200
Web front end development specification manual
Web front end development specification manual
1, Normative purpose
1.1 general
This document is specially made to improve the efficiency of team cooperation, facilitate the background personnel to add functions, optimize and maintain the front end in the later stage, and output high-quality documents Once the specification document is confi ...
Added by caspert_ghost on Sun, 13 Feb 2022 05:21:54 +0200
vue3 -- event listening: v-on application (@ application)
Binding event Listening Instruction: v-on
Abbreviation: @ (grammar sugar)
Example:
<el-button @click="add('11111111111111')" style="background-color: red">
<el-button @click="add('222222222222222222')" style="background-color: black">
<el-button @click="add('33333333333333333')">Button</el-button>
...
Added by Aretai on Sat, 12 Feb 2022 18:44:34 +0200
The 8th web front end training (JSS)
Learning website: [excellent limit] HTML+CSS+JavaScript+jQuery front-end compulsory course, Xiaobai teaching, front-end foundation, complete version_ Beep beep beep_ bilibilin
1. Install compiler
HBuilder X:HBuilderX - effective geek skills
2. Basic contents
Get form (the first two commonly used)
...
Added by tpearce2 on Sat, 12 Feb 2022 18:03:51 +0200