Cordova implements custom download plug-ins and WPS online preview

Cordova implements custom download plug-ins and WPS online preview Brief description Click the download link and request the URL to determine whether the mobile phone has WPS installed. If WPS is installed, call WPS online editing. If it is not installed, download the file and notify it in the notification bar to display the download progress ...

Added by mattkirkey on Sat, 18 Dec 2021 22:54:39 +0200

[learning notes] advanced JavaScript of "Web APIs"

preface 1.1 composition of JS 1.2 JS foundation stage and Web APIs stage 2.1 API 2.2 Web API 2.3 API and Web API summary 1, DOM 1. Introduction to DOM 1.1. What is DOM Document Object Model (DOM) is a standard programming interface recommended by W3C organization to deal with extensible markup language (HTML or XML) W3 ...

Added by lorenzo-s on Sat, 18 Dec 2021 20:06:12 +0200

Notes on Web front end development -- Chapter 3 CSS language section 2 CSS selector

preface CSS code consists of a selector and one or more declarations. A selector is an HTML tag that needs to change its style. In CSS, each code is separated by semicolons. Each code is a declaration, and the declaration is enclosed in curly braces {}. Previously, we explained the basic concept of CSS. Selectors are HTML tags that ...

Added by leena on Sat, 18 Dec 2021 17:52:59 +0200

Nail / wechat applet canvas handwritten signature, signature rotation

###Foreword Recently, the nail applet developed by the company requires handwritten signature. I wrote one. Let's see the effect first. Wechat applet can also be used. ####The first step is page layout I found an example of handwritten signature on the Internet, copied and modified it, and posted the code directly: //Layout code <view ...

Added by nineseveninteractive on Sat, 18 Dec 2021 05:03:41 +0200

Application and principle of v-model

Application and principle of v-model 1. Use of V-model Form controls are very common in practical development. Especially for the submission of user information, a large number of forms are required.Vue uses the v-model instruction to realize the two-way binding of form elements and data.Case analysis: When we enter something in the input ...

Added by Atari on Fri, 17 Dec 2021 23:37:45 +0200

web front end technology notes JavaScript introduction, variables, operation elements and attributes

JavaScript introduction JavaScript is a footstep language running on the browser side. JavaScript mainly solves the problem of front-end interaction with users, including use interaction and data interaction. JavaScript is interpreted and executed by the browser, and the front-end scripting language includes JScript (unique to Microsoft an ...

Added by tasistro on Fri, 17 Dec 2021 18:49:03 +0200

Next.js integrated state manager and shared Token

preface SSR framework used in recent projects next JS, you will encounter a series of problems such as token storage and state management. Now summarize and record them and share them with you. Token storage The biggest difference between SSR and SPA is that SSR distinguishes between Client and Server, and SSR can only communicate between Cl ...

Added by videxx on Fri, 17 Dec 2021 18:16:25 +0200

JavaScript -- the difference between using var and let to declare variables in a for loop

1. var in for() loop We first create an array and assign values to each item of the array with the for() loop. The conditional expression of the for loop is declared with var: let arr = []; for (var i = 0; i < 5; i++) { arr[i] = function() { console.log(i); } arr[i](); // Called immediately with each loop } The following results ...

Added by zigizal on Fri, 17 Dec 2021 10:45:22 +0200

Android cultivation series (XIII), BAT interview documents

This is the loading animation: case MSG_TOP_DRAW: if (mTopCircleAnimaRadius < mTopCircleMaxRadius - 2 * topIntervalDistance) { mTopCircleAnimaRadius += topIntervalDistance; } else { mTopCircleAnimaRadius = mTopSmallCircleRadius + topIntervalDistance; } drawTimingThread.removeMessage ...

Added by begeiste on Fri, 17 Dec 2021 09:29:38 +0200

Section 13: understanding BOM

I BOM Browser object model: browser object model refers to browser related js operations Usually window xxxx 1. Get browser height 1. Both width and height include the width of the scroll bar 2. This is the width and height of the browser, not the page console.log( window.innerWidth) // Browser width console.log( window.innerHeight )// Br ...

Added by akkad on Thu, 16 Dec 2021 22:55:12 +0200