[Use and Explanation of vue3 Pinia] The New Generation Store Application of vue3
This article is intended to quickly help you get started with the basic and core parts of Pinia. For a complete understanding, see the official website or follow-up articles (rewrite when available), and Pinia can also be used in SSR. Also: This Chinese name can be called pineapple. It originated from the Spanish language PIA and was translated ...
Added by mahendrakalkura on Wed, 23 Feb 2022 19:28:46 +0200
Build antv data visualization large screen from zero (lightweight vite-react-ts)
Summary
Previously, Ofter detailed how to write visualization screens from scratch using Vue. Today, we'll show you how to write visualization charts using React. Why are we still learning React? Because of its lightweight nature, visualization charts like antv are all in React, although antv has one viser (React/Vue/Angular th ...
Added by brown2005 on Wed, 23 Feb 2022 19:00:59 +0200
ES6 -- Iterator
ES6 – Iterator
1, The concept of Iterator2, Function of traverser3, Iterator traversal process4, The interface implementation of self simulation traverser
1. General implementation2. Writing method of class deployment Iterator interface (es6 deployment Iterator class, equivalent to es5 function)3. Simulate the function class writing ...
Added by uluru75 on Wed, 23 Feb 2022 18:13:20 +0200
JavaScript advanced programming - Chapter 10: Functions
Chapter 10: function
In fact, functions are also objects. Each Function is an instance of the object Function, which also has properties and methods;
Because the function is also an object, the function name is a pointer to the function object;
10.1 declaration of functions
Function declaration function sum(num1,num2){
return num1+num2 ...
Added by radstorm on Wed, 23 Feb 2022 17:59:55 +0200
Introduction to zero basic JavaScript-BOM (day 4)
1, BOM browser object model
1.BOM overview
1.1 what is BOM
BOM (Browser Object Model) is the Browser Object Model. It provides an object that interacts with the browser window independent of content. Its core object is window.
BOM consists of a series of related objects, and each object provides many methods and attributes.
BOM lacks stand ...
Added by wholein1 on Wed, 23 Feb 2022 17:29:26 +0200
javascript program of analog clock based on h5 canvas
design sketch
|
Update log
1. The first parameter of the construction method supports passing in the id of the canvas dom object. You can pass either the canvas dom object or the id of this dom object. 2. setOptions method is added to facilitate dynamic updating of analog clock properties. 3. Fix the BUG that the passed in options d ...
Added by harrylt on Wed, 23 Feb 2022 14:51:01 +0200
DOM and BOM of JavaScript objects
preface
This article briefly introduces the BOM object and DOM object of JavaScript, as well as the related methods and usage.
catalogue
1, DOM object simple learning
2, Events
2.1 simple learning of events
2.2. Event monitoring mechanism
Case: bulb switch:
3, BOM object
3.1. BOM object concept:
3.2 composition
Case: ...
Added by corbin on Wed, 23 Feb 2022 14:44:16 +0200
AJAX -- Native AJAX
Native AJAX
GET request
I Example requirements: click the button, send a GET request, and render HELLO AJAX in div
Create server JS file
//1. Introduce express
const express = require('express');
//2. Create application object
const app = express();
//3. Create routing rules
//requset is the encapsulation of request message
//r ...
Added by jp2php on Wed, 23 Feb 2022 13:46:26 +0200
css beginners must see, using css3 to make a beautiful online clock
Click the link to see the effect https://ihope_top.gitee.io/my...This article has been released to official account: 100 miles of Castle Peak.prefaceTwo days ago, I turned over the materials and found a small case I learned when I first started learning the front end. I used css to draw a rotating dial. I don't know if everyone has written it, ...
Added by Sprout on Wed, 23 Feb 2022 12:49:40 +0200
[Javascript Design Mode] responsibility chain mode
Make multiple objects have the opportunity to process the request, so as to avoid the coupling relationship between the sender and receiver of the request, connect these objects into a chain, and pass the request along the chain until an object can process it. These objects in the transmission chain are called nodes.
In practical application ...
Added by brandtj on Wed, 23 Feb 2022 12:20:53 +0200