Application Development of Up-Load and Down-Drop Refresh Components Based on Vuescroll.js Packaging

What is vuescroll? Description from the official website: vuescroll Vue.js-based custom scrollbar plug-in, it has two modes: native: suitable for PC side, support basic custom scrollbar. Slide: It is suitable for mobile terminal, supporting pull-down-load, pull-up refresh, rotation, etc. However, this does not mean that the slide mode can only ...

Posted on Mon, 07 Oct 2019 05:01:19 -0700 by Stuie_b

JavaScript | | Data Type Conversion

JavaScript Data Type Value types (basic types): String, Number, Boolean, Null, Undefined, Symbol. Reference data types: Object, Array, Function. * Constants: All languages are basically the same * Integer Floating Point Character Boolean String Object. * Variables * 1. Strongly typed languages: * ...

Posted on Mon, 07 Oct 2019 04:06:46 -0700 by wolves

Manual implementation of call and apply methods

call implementation Syntax:fun.call(thisArg, arg1, arg2, ...) Parameters:thisArg This value is specified when the fun function runs. If (thisArg = undefined | null) this = window, if (thisArg = number | Boolean | string) this = new Number ()| new Boolean ()| new String () arg1, arg2, ... List of specified parameters. Function.prototype.call2 ...

Posted on Sun, 06 Oct 2019 19:50:59 -0700 by gojakie

Bootstrap Scrolllspy

Explain: There must be a resolvable identifier corresponding to the elements in the dom: <a href=" home"> </a> <div_id= "home"> </div> According to jquery, invisible target elements will be ignored and their corresponding navigation items will never be h ...

Posted on Sun, 06 Oct 2019 12:47:15 -0700 by headcutter

Asp.net Gets the mac address of the client login

Links to the original text: http://www.cnblogs.com/LeeYongze/archive/2010/11/18/1880990.html There are two ways for asp.net to get the mac address of the client login 1. Through the win32 feature, Advantages: No need to set up in th ...

Posted on Sun, 06 Oct 2019 09:31:55 -0700 by DigitalNinja

three.js realizes the simulated migration of sphere City

The overview is as follows:1. Sphere Geometry realizes the Earth's rotation.2. THREE.ImageUtils.loadTexture loads map mapping materials;3. THREE.Math.degToRad, Math.sin, Math.cos realize the transformation between the longitude and latitude of the map and the three coordinates x, y, z;4, track marks are implemented according to the number of se ...

Posted on Sun, 06 Oct 2019 05:38:04 -0700 by mcl

Using hexo and github to build a static blog website

Using hexo to build blog website Global installation of hexo-cli npm install hexo-cli -g npm installation speed is slow, can switch to domestic Taobao NPM mirror image Installation using cnpm command instead of npm command. After the installation is completed, hexo-v is executed to check whether the installation is completed. hexo -v hexo-cli: ...

Posted on Sun, 06 Oct 2019 04:55:24 -0700 by Tory

Learning Design Ideas and JS Characteristics from jQuery Core Source Code

I. reading guidance Article as a form of learning notes, recording learning experience and knowledge of principles, if there is a mistake, welcome to correct. This article starts with some simple jQuery source code to analyze where a framework starts and what js does at the bottom. Understanding his design ideas, the overall architecture of jqu ...

Posted on Sun, 06 Oct 2019 04:26:44 -0700 by DoctorWho

The front end converts the data returned from the back end into tree-structured data

demo Method One Recursion data var data = [ { "area_id": 5, "name": "Guangdong Province", "parent_id": 0, }, { "area_id": 6, "name": "Guangzhou City", "parent_id": 5, }, { "area_id": 7, "name": "Shenzhen City", "parent_id": 5, }, { "area_id": 4, "name": "Market", "p ...

Posted on Sun, 06 Oct 2019 03:15:31 -0700 by Ozzmosis

react advanced features

After using react for so long, I didn't know that react had so many advanced features. I had nothing to do during the vacation. I tried some advanced features of react. Here is the trial record. overview Characteristic characterization Usage scenarios Code segmentation Provide asynchronous components for unpacking Use when you need to opti ...

Posted on Sun, 06 Oct 2019 02:53:17 -0700 by PURU