Java Web Learning Notes 2 (use of jQuery, common methods, selectors and filters)

Java Web Learning Notes 2 javascript regular expression regfxp object Mode 1: var putt=new RegExp("e");//Indicates that the required string must contain the string e var str="abcde"; alert(putt.test(str)); Mode 2: var putt=/e/; var str ="abcde"; alert(putt.test(str)); var putt=/{abc}/;//Indicates ...

Posted by davestewart on Sat, 22 Jan 2022 03:02:55 +0100

React learning notes - component communication

1, Component communication concept In React, components are independent and closed units. By default, the data in component state is private data, and components can only use their own data. However, in the actual project development process, our page is composed of multiple components, and these components inevitably share some data. This pro ...

Posted by RClapham on Fri, 21 Jan 2022 23:27:30 +0100

[the second youth training camp - front end field in winter vacation] - Notes on "front end animation implementation"

I moved my notes on Nuggets: Front end animation implementation,Personal blog Basic principles of animation What is animation Animation is a process of creating motion illusion and change illusion by quickly and continuously arranging continuous images with little difference from each other. ——Wikipedia fastContinuous ...

Posted by matthijs on Fri, 21 Jan 2022 20:45:46 +0100

Human resource management system of Web project

Project Gitee address Blog address Project requirements Human resource management system positioning The realized human resource management system serves shareholders, employees and interns.By realizing the functions of each module, the company's personnel joining, internal transfer and resignation personnel change are carried out through ...

Posted by stuartbaggs on Fri, 21 Jan 2022 20:43:25 +0100

Website development advanced anti shake throttling

1, Foreword - why anti chattering or throttling The realization of anti chattering or throttling is mainly based on the following purposes: Reduce server pressure when querying in time.Frequently perform DOM operations, resource loading and other heavy behaviors, resulting in UI pause and even browser crash.The requirement is to perform ...

Posted by Joseph Witchard on Fri, 21 Jan 2022 16:22:31 +0100

Built in objects for JavaScript

  catalogue 1, Number 1. isFinite() 2. isInteger() 3. isNaN() 4. parseFloat() 5. parseInt() 2, String 1. indexOf() 2. replace() 3. search() 4. concat() 5. split() 6. slice() 7. substr() 8. substring() 9. includes() 3, Array 1. join() 2. push() 3. pop() 4. shift() 5. reverse() 6. filter() 7. forEach() 8. find() 4, Obje ...

Posted by Res on Fri, 21 Jan 2022 15:38:11 +0100

Learn web-day8 from 0

1. Review 2. Use of margin and padding Use of margin and padding Sets the gap between two elements There is no background color and border: you can use margin or padding If there is a border, use padding if the gap is within the border line and margin outside the border line If there is a background color, use padding if there is a background ...

Posted by TJaaaay on Fri, 21 Jan 2022 15:18:59 +0100

Detailed explanation of the use of React Hook

1: Introduction Hook is a new feature of React 16.8. It allows you to use state and other React features without writing class. hook introduction time (react version update event) - 2013 May 29 v0.3.0 Facebook Open source React ..... - 2014 October 28 v0.12.0 use BSD agreement+Additional patent license agreement- ...

Posted by MLJJ on Fri, 21 Jan 2022 14:57:20 +0100

Javascript modular tool require JS tutorial

Transferred from: http://www.w3cschool.cc/w3cnote/requirejs-tutorial-1.html, http://www.w3cschool.cc/w3cnote/requirejs-tutorial-2.html With the gradual enrichment of website functions, the js in the web page has become more and more complex and bloated. The original way of importing js files through script tags can no longer meet the current In ...

Posted by DataRater on Fri, 21 Jan 2022 14:42:24 +0100

vite + vue3 + setup + pinia + ts project practice

introduce A project developed using vite + vue3 + pinia + ant design Vue + typescript complete technical route, with second level development update launch, new vue3 composition api combined with setup to enjoy smooth development experience, new pinia state manager and excellent design experience (1k size), ant D barrier free transition to UI ...

Posted by zab329 on Fri, 21 Jan 2022 12:52:17 +0100