ViewPager implements the second section of an automatic rotation chart
The general framework of the viewpager in the previous section has been set up. We found that there is a rotation picture, that is, it can't rotate automatically, and can only slide left and right manually, and it can't slide indefinitely. If you slide to the beginning and end in order, you can't move. Next, we'll realize how to make the pictur ...
Added by whir on Thu, 03 Feb 2022 07:31:46 +0200
Three.js to realize the 2022 Winter Olympics Theme 3D interesting page ๐ผ
backgroundWelcome the Winter Olympics and look forward to the future together! 2022 Winter Olympics will begin soon. This paper uses three JS + react technology stack realizes winter and Olympic elements, and makes a 3D page full of interesting and commemorative Winter Olympic theme. The knowledge Points involved in this paper mainly include To ...
Added by actionsports on Thu, 03 Feb 2022 06:59:48 +0200
8, Event handling -- review notes of warm boiled water
preface
The notes are miscellaneous this time
1, Basic usage of events in Vue
(1) Review event usage in native JavaScript
Three elements Get event source (which object is triggered) Binding event, event type (how to trigger, click or keyboard input, etc.) Add event handler (what to run)
Using events in this way is complicated. Let's lo ...
Added by jstinehelfer on Thu, 03 Feb 2022 06:43:13 +0200
The CDN of Vue3 series introduces dependent packages to optimize the packaging rate
be careful!!! be careful!!! be careful!!! This article is based on Webpack packaging
I summary
Benefits of using CDN
Relieve the pressure on the server and allocate the requests when the first screen is loaded to other serversOptimize the packaged verdor JS too big problemSpeed up the first screen loadingSpeed up packaging In particul ...
Added by nitromaster on Thu, 03 Feb 2022 04:24:51 +0200
html learning notes of web
Catalogue
1. html definition
2.video tag
3. Download resources and audio tags
4.img label
5. Tags, hyperlinks
6: h label
7: meta tag
8: div tag:
9:span label
10: pre tag
11: p tag
12: center label
13: form label
14: Single choice, check, drop-down and upload Tags
15: u tag
16: table label
17:frameset tab
18: iframe (n. inline ...
Added by srhino on Wed, 02 Feb 2022 22:13:58 +0200
Getting started with ESP32 HTTP
1. Environmental preparation
use postman client online debugging use Postjason tool
You can first understand the following knowledge:
The difference between HTTP request method get and post Url describes a resource on the network, and get, post, put and delete correspond to four operations: query, change, add and delete.
Get is use ...
Added by halfman on Wed, 02 Feb 2022 21:19:26 +0200
The routing Router in Vue is from 0 ~ 0.5 basic knowledge to use (the basic use that the back-end personnel need to master)
๐ Content of this article: from 0 ~ 0.5 basic knowledge to use of routing Router in Vue (basic use that back-end personnel need to master) ๐ Article column: Front end knowledge (knowledge points to be mastered at the back end) Front and rear end separation project (Vue + SpringBoot) ๐ฌ Last updated: January 29, 2022 Vue's life cycle entry to ...
Added by andylyon87 on Wed, 02 Feb 2022 20:00:19 +0200
Reinterpret JavaScript prototype and prototype chain
preface
Although JavaScript prototype and prototype chain are an old topic, they still confuse many people. Today I'll talk about this issue from another angle.
Two questions
Let's look at this code first:
let obj = {}
obj.__proto__.haha = 'gogo'
console.log(obj.haha) // "gogo"
Run the above code and the output is gogo.
For this result, there ...
Added by snowrhythm on Wed, 02 Feb 2022 19:09:04 +0200
VUE learning, ref attribute, props configuration item, minix mixing, custom plug-in, scoped style
VUE learning (13), ref attribute, props configuration item, minix mixing, custom plug-in, scoped style
1, ref attribute
<template>
<div>
<h1 v-text="msg" ref="title"></h1>
<button ref="btn" @click="showDOM">Click on the top of my output DOM element</button>
<School ref="sch"/>
</div>
< ...
Added by ManInBlack on Wed, 02 Feb 2022 17:03:12 +0200
React hook + typescript + styled component site building
Technology selection
Comparison between Vue and React
Componentization vue's componentization is to put the UI structure (template), UI style (style), data and business logic (script) in one vue file, before running vue files will be compiled into real components; The Componentization of React is to implement components directly in the form o ...
Added by ganeshasri on Wed, 02 Feb 2022 16:01:20 +0200