The fourth day of learning React from scratch ~ realize a good-looking pop-up calendar component

preface Today is the fourth day of learning react. My first small goal is to realize all the functions of todo list software on the web side one by one through react! The previous articles will be put in the preface: 📦 Code warehouse link React todo gitee warehouse 💻 Online preview effect React todo development progress # 👀 Day 1 ...

Posted by rulian on Thu, 30 Dec 2021 20:05:23 +0100

JS expressions and operators

Reprinted from: https://jerry-z-j-r.github.io/2021/08/06/JS-Cheat-Sheet-3/ (from JERRY) 1, JS expressions and operators Expression: an expression consisting of operands and operators. Classification of expressions: arithmetic, relation, logic, assignment and synthesis. 2, Arithmetic expression 2.1 arithmetic operators significanceop ...

Posted by lepass_7 on Thu, 30 Dec 2021 19:48:33 +0100

JavaScript quick start

JavaScript is a client-side scripting language. Running in client browsers, each browser has an engine to parse JavaScript. Scripting language: it can be parsed and executed directly by the browser without compilation. The core function is to enhance the interaction between users and HTML pages and make the pages have some dynamic effects. ...

Posted by aysx on Thu, 30 Dec 2021 17:58:01 +0100

Complex data processing and structure transformation

9.1 Any ↔ character string When developing data applications, most of the data will not be generated in real time by JavaScript or user operations, but will be extracted directly from the data storage facilities of the server, and then transmitted to the client through network protocol for display. In this case, we can first introduce ...

Posted by magic123 on Thu, 30 Dec 2021 15:42:22 +0100

Beginner TS - basic type of TS

Basic type of TS Boolean type let isDo:boolean = true; === var isDo = true Number type let num:number = 5; === var num = 5 String type let name:string = 'mery'; === var name = 'mery' Array type let arr:number[] = [1,2,3]; === var arr =[1,2,3] let arr:Array<number> = [4,5,6]; //Array < number > is a gen ...

Posted by puja on Thu, 30 Dec 2021 14:56:47 +0100

The preview interface of Xmind2testcase secondary development adds the save function to save the uploaded XMIND and corresponding csv files locally

Application scenario: Every written use case is on each tester's computer. For a long time, many test cases will disappear inexplicably due to personnel replacement. Therefore, it is hoped to add a saving function on Xmind2testcase platform, which can uniformly save all the written use cases to the test server for reference by relevant personn ...

Posted by sublimenal on Thu, 30 Dec 2021 06:54:17 +0100

State secret encryption sm4 front and back end code

1, Front end sm4.js /** * base64js * base64js.toByteArray(d.input) * base64js.fromByteArray(c); *State secret SM4 encryption algorithm * @author wzk * @email 1216113487@qq.com *@ company Zhongke software */ (function(r){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=r( ...

Posted by pkenny9999 on Thu, 30 Dec 2021 02:34:33 +0100

Review JavaScript advanced 01 - built in object - prototype object - constructor

catalogue Built in object Constructor Prototype object summary Built in object Built in object api: the object written in advance by the js author. There are some predefined methods. We can use them directly without caring about the principle api: predefined functions For example: Addition, deletion, modification and query of arr ...

Posted by activeserver on Wed, 29 Dec 2021 21:41:41 +0100

vue components and communication slots

catalogue Component communication The parent component passes data to the child component  props The child component passes data to the parent component Multiple parameters Communication between non parent and child components How many ways can Vue components communicate with each other?   slot Anonymous slot Named slot Slot sc ...

Posted by tomtomdotcom on Wed, 29 Dec 2021 11:50:25 +0100

Introduction to FileReader of JavaScript and examples of how native and uniapp convert files into base64 encoded strings

Use the FileReader object to view the MDN official description for details click here . Introduction to FileReader object Method of FileReader object: methodparameterbrief introductionexplainFileReader.readAsBinaryString(blob)Blob or File object to be readRead file as binary encodingThe specified Blob or File object will be read. When the r ...

Posted by Dargrotek on Wed, 29 Dec 2021 11:41:38 +0100