JavaScript built-in objects

JavaScript provides many common built-in objects, including Math, Date, Array, String, and so on. Familiarize yourself with built-in objects by querying documents Open the MDN website and find "Technology" - "JavaScript" in the navigation bar of the website. The effect is as follows. Scroll down the page and find Built ...

Posted by meow on Fri, 03 Dec 2021 10:41:40 -0800

Vue Foundation (listener)

What are listeners in vue During development, we defined data in the object returned by data, which can be bound to templat through interpolation syntax and other methods.When the data changes, the data bound in the template will be automatically updated to display the latest data. However, this change is transformed by automatically listening ...

Posted by vigge89 on Fri, 03 Dec 2021 10:33:09 -0800

three.js learning notes - Shadows

Shadows have always been a challenge in real-time 3D rendering. Developers must find skills to display real shadows under reasonable circumstances. Three.js has a built-in solution. Although it is not perfect, it is very convenient to use. How does shadow work? When you render once, Three.js will render each light that supports shadows. Those ...

Posted by kaiquej on Fri, 03 Dec 2021 10:12:18 -0800

vue.js front end development technology reading notes 1: introduction to vue

In order to facilitate typing, all vues are unified as lowercase Vue 1, Getting started with vue ❤️❤️❤️ What is vue and its characteristics? What are the advantages of vue in front-end development? How to download vue and introduce and apply it? Instantiate vue objects, data and methods? How to mount data to DOM pages? MVVM mode in vue? ...

Posted by laide234 on Fri, 03 Dec 2021 08:38:41 -0800

react component communication

react introduction and installation Chinese website: https://react.docschina.org/ Official website: https://reactjs.org/ introduce 1.react Is used to build web User interface. 2.Throughout react Almost all of them are used JavaScript Code development . 3.react It can scale freely in front of a class library or an entire framework. 4.author: ...

Posted by ReDucTor on Fri, 03 Dec 2021 07:37:36 -0800

File upload and file download

preparation File upload is one of the most common functions in project development. Spring MVC can well support file upload, but MultipartResolver is not installed in the spring MVC context by default, so it cannot handle file upload by default. If you want to use spring's file upload function, you need to configure MultipartResolver in ...

Posted by djheru on Fri, 03 Dec 2021 04:58:48 -0800

Modularization related specifications

Modularization related specifications Modular overview Modularization is to encapsulate a single function into a module (file). Modules are isolated from each other, but internal members can be exposed through specific interfaces or rely on other modulesBenefits of modular development: facilitate code reuse, improve development efficien ...

Posted by JJ2K on Fri, 03 Dec 2021 04:26:53 -0800

Implementation, encapsulation and callback function of animation function

Animation function encapsulation Animation implementation principle: Core principle: continuously move the box through the timer setInterval() Implementation steps: Gets the current position of the boxAdd a movement distance to the box's current positionRepeat this operation with a timerAdd a condition for end timingNote that this element ...

Posted by Warboss Alex on Fri, 03 Dec 2021 01:38:13 -0800

The direction of this in JS and changing the direction of this

1, this point 1. Definitions this is a keyword used within the scope Global is rarely used, and most of it is used inside functions 2. Direction 2-1. Global usage When used globally, this points to window 2-2. Function usage Note: no matter how the function is defined, no matter where the function is, it only depends on the call of t ...

Posted by Russia on Fri, 03 Dec 2021 01:31:56 -0800

TypeScript official manual translation plan [x]: type manipulation - mapping type

Note: at present, there is no Chinese translation of the latest official documents of TypeScript on the Internet, so there is such a translation plan. Because I am also a beginner of TypeScript, I can't guarantee the 100% accuracy of translation. If there are errors, please point them out in the comment area;Translation content: the tentative t ...

Posted by kanch33 on Fri, 03 Dec 2021 00:58:49 -0800