click delay and tap event on mobile terminal

I. delay of click and other events on mobile terminal click event can be triggered at both mobile and pc terminals, but there is a delay phenomenon at mobile terminals. 1, background In order to enhance the user experience, apple specially designed the function of double-click to enlarge the content of the web page for the mobile device, bec ...

Posted by hyzdufan on Sat, 30 Nov 2019 16:15:20 -0800

Elastic search, gorang client aggregation query

At present, there is a requirement for es aggregation query in the monitoring project, which needs to be implemented in go language, The requirement is to query that an IP is in a time range, and the average value of each monitoring indicator in a time unit. It's a bit awkward. Here is the query statement of es. It's obvious that the two field ...

Posted by beanwebb on Sat, 30 Nov 2019 15:30:28 -0800

Component communication of React

Recently, I have nothing to do to learn the React framework by myself. In the process of self-study, all the problems and experiences will be recorded here. I hope that they can help the students who learn the React framework. I don't talk much about the code.First, father to son: import React, { Component } from 'react'; import Com1 from './co ...

Posted by bassdog65 on Sat, 30 Nov 2019 14:35:09 -0800

Easy mock - installation configuration and basic use

Easy-mock   Easy mock is a relatively easy-to-use interface simulation tool, We need to install and configure before using The content to download is as follows Node Redis MongoDB Node and Redis can click next. MongoDB can refer to MongoDB Installation and operation   After installation, you can download easy mock from github and start using ...

Posted by KYarb on Sat, 30 Nov 2019 13:45:29 -0800

How to view the dependency tree of a js, ts file module

Recently, I took over a page of others. The code was messy and jumbled. When I was adding functions, I found that the module I added conflicts with the original module, but I didn't know where the original module was, so I found it. But I found that this way is too clumsy, and I didn't find the corresponding tool on the Internet, so I wrote a t ...

Posted by Anarking on Sat, 30 Nov 2019 12:43:20 -0800

Use react native tab navigator to switch pages

Switching pages is the most basic function of app. This function needs to be implemented with Navigation components. RN is developing too fast (v49). The Navigation component that came with it is abandoned. If it is only for ios, it can also be used NavigatorIOS There are some good ones in the communityhttps://github.com/react-comm ...

Posted by direland on Sat, 30 Nov 2019 11:07:31 -0800

Learning front-end routing and Vue router notes

The essence of front-end routing principle is to monitor the change of URL, then match the routing rules and display the corresponding page without refreshing. At present, there are only two ways to implement single page routing hash history www.test.com / 3535; / is the Hash URL. When the hash value after ා, the data will not be requested fr ...

Posted by Texan on Sat, 30 Nov 2019 07:37:31 -0800

Using Express to develop novel API service 1.0

Using Express to develop novel API service 1.0 (2) Online access address https://api.langpz.com/ Before the completion of the home page and search interface, now start to write the rest of the interface. Access to novel sources Because the original source of Book Chasing artifact is charged and encrypted, it can only use pirated source, so it i ...

Posted by jaronblake on Fri, 29 Nov 2019 23:01:18 -0800

Golang implements requests Library

Simple package, convenient to use, like python's requests library. Github address Github Support GET,POST,PUT,DELETE application/json,application/x-www-form-urlencoded I won't support it: multipart/form-data Use The following are common examples: GET request; POST form submission, json submission, saving files, etc. Get func getText() ...

Posted by JamesyBHOY on Fri, 29 Nov 2019 13:23:41 -0800

Introduction to SpringBoot+Redis

This blog Uncle cat's blog , reprint please state the sourceThis series of tutorials is HMStrange project Incidental. Historical articles How to install the latest version of CentOS 7.6 in VMware 12 CentOS 7.6 install Java8 Centos7.6 install MySQL+Redis (latest version) Getting started with SpringBoot+MySQL+MyBatis Tutorial content Note: thi ...

Posted by beselabios on Fri, 29 Nov 2019 12:39:27 -0800