Inheritance of js Foundation

inherit Now, we have a drag function to implement: suppose there is a div and we need to implement the drag function on it, then according to our usual way, the implementation method is as follows: // Process oriented const mydiv = document.querySelector(".mydiv"); mydiv.onmousedown = e => { let ev = e || window.event; let x = ev.c ...

Added by ShogunWarrior on Wed, 02 Mar 2022 11:10:54 +0200

Flex layout + Grid layout

Flex layout flexible box - any element can be specified as a flex layout flex layout: parent element - flex container, child element - item **Principle: * * when adding the flex attribute to the parent box, you can control the position and arrangement of the child box **Note: * * when the parent box is set to flex layout, the float, clear a ...

Added by guitarlass on Wed, 02 Mar 2022 09:44:35 +0200

You dare to climb. You're not far from prison. Reptile reverse actual combat case

Important things are at the top. Please look carefully: This paper aims to learn and exchange crawler technology, especially JS reverse technology. We should focus on learning the ideas and process. Please don't imitate the website exemplified in the article. If you want to crawl, please crawl no more than 3 pages, otherwise you will bear t ...

Added by uday on Wed, 02 Mar 2022 07:58:58 +0200

Learn to insert Gaode map JS API and map related settings into Vue project. It's enough to read this article ~ (nanny level simplified teaching)

Gaode map API official website: Gaode open platform | Gaode map API . Since the blogger is developed based on the front-end Vue framework, the map JavaScript API * * * * is introduced in combination with Vue. 1, Case effect 2, Development preparation It should be noted that if you want to use JS API, you must register an account and ...

Added by Daukan on Wed, 02 Mar 2022 07:09:23 +0200

Design and implementation of music playing system based on Java Springboot+Vue+MyBatis

?? Author home page: Li Yangyong? ?? Introduction: high quality creator in Java field Java Li Yangyong, author's resume template, learning materials, interview question bank, technical assistance [pay attention to me and give it to you] ?? Welcome to like?? Collect messages?? Video demonstration: get the contact information of the ...

Added by RavenStar on Wed, 02 Mar 2022 07:01:53 +0200

[HTML of reconstructing front-end knowledge system] changes brought by HTML5 to web page audio

[HTML of reconstructing front-end knowledge system] changes brought by HTML5 to web page audio introduction I believe everyone is familiar with music playback, but long before the previous music playback, your browser will ask you whether to download the flash plug-in. Now, however, it is estimated that some young developers don't need to kno ...

Added by kausee on Wed, 02 Mar 2022 07:02:06 +0200

Vue codemirror code editor usage experience and stepping on pits

In recent work, you need to optimize the previous web side code editor. As a back-end developer, although I'm not professional, I can only bite the bullet. After consulting a lot of materials, I still optimized some contents. Let's share them here. If there is something wrong, please forgive me. After all, it's very tired to play with pure hand ...

Added by michaellunsford on Wed, 02 Mar 2022 06:57:38 +0200

Web3. Basic use of JS (interaction with Ethereum smart contract)

Catalog title web3.js introductionweb3 module loading Asynchronous callbackCallback Promise event (v1.0.0) Common API - basic information query View web3 versionView the version of the node to which web3 is connected (clientVersion)Basic information query Get network idGet the Ethereum protocol version of the node Network status que ...

Added by brash on Wed, 02 Mar 2022 06:49:36 +0200

vue.config.js configuration

vue.config.js configuration item After the vue-cli3 scaffold is erected, there is no Vue in the project directory config. JS file, which needs to be created manually Create Vue config. js vue. config. JS (equivalent to the previous webpack.config.js) is an optional configuration file. If this file exists in the root directory of the projec ...

Added by carsale on Wed, 02 Mar 2022 06:39:58 +0200

Tiktok is convenient, small air conditioning special effect html+css+js

Look at the effect first (the source code is at the end): The video effect is as follows, with sound effect Station B: A fan shared this effect with me. I thought it was very interesting, and then studied it. The specific implementation is as follows (there may be many codes, but they are relatively simple. Come on): Implementation process ...

Added by theoph on Tue, 01 Mar 2022 21:36:05 +0200