ThinkPHP+JQuery for asynchronous file upload
Front-end code <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>ThinkPHP+JQuery...
Teach you 10 minutes to build a cool personal blog
Take personal blogs for example, Blog address Preparation install $ npm install -g hexo-cli Initialization $ hexo init <folder> $ cd <folder&...
canvas: writing dynamic clock in native javascript
At this time, the needle is centered on the center of the canvas; g.translate(width/2,width/2); This function moves the origin of the canvas to (widt...
Experience in the development of vue mobile terminal
Introducing Mint UI on demand Used in this project mint-ui As a basic ui framework, it has encountered many problems in use. The official website doc ...
[JS foundation] Prototype and prototype chain, constructor
5 prototype rules All reference types (array, object, function) have object properties, which can freely extend properties (except "null") A...
Rich text editor Quill upload pictures and videos
image and video belong to Embeds in Quill formats. To insert pictures or videos into rich text, you need to use insertEmbed api. insertEmbed insertEmb...
vue component encapsulation and parent-child component value passing, event handling
In the development of vue, the part with unified function is extracted as an independent component and introduced when it is needed, which can effecti...
Webpack learning - how it works
Following the last chapter Article This paper introduces the basic concept of webpack, the whole process, and the function of some events broadcast in...
Encapsulate the table component of element UI, and flexibly configure the header to realize the functions of table editing, button, link, etc.
vue-bxz-table 1. Encapsulate the table component of element UI: Define table height full screen Add foreground paging function. Customize the header a...
JavaScript series blog
JavaScript series blog (5) Preface This blog study js selector to control css and html, use event (hook function) to handle the specified function aft...
From the 25th day to the 27th day, the countdown begins to tick
Code Now we need to make a slightly complicated thing, as follows: HTML. There is a pile of Select to Select the date and time. After selection, the d...
Custom plug-in of vertical waterfall flow based on jquery
The company's new project has made a plate about pictures. It found some waterfall plug-ins on the Internet that are not very suitable for itself...
What are the similarities between Python and JS?
Python is a widely used language. It can automate scripts, crawlers, and even in the field of deep learning. As a front-end developer, I also know tha...
Using cxf to write the next part of spring based Web Service
Copyright notice: This is the original article of the blogger. It can't be reproduced without the permission of the blogger. https://blog.csdn.n...
Interaction between web and APP -- WebView JavaScript Bridge
In the actual project, we often encounter the situation that the web page is embedded in the app (Hybrid), which requires the interaction between the ...
Length of JavaScript object
I have a JavaScript object. Is there a built-in or recognized best practice to get the length of this object? const myObject = new Object(); myObject...
Probability of random number controlled by Js
Such as: Take the random number between 1 and 10, then their value range is: integer Section probability 1 [0,1) 0.1 2 [1,2) 0.1 3 [2,3) 0.1 4 [3,4) 0...
The implementation of editable table by iView
create at: 2019-02-20 assembly <i-table highlight-row ref="currentRowTable" :columns="columns" :data="tableData">&...
Webback4. X configuration of vue project
These two days, I played with webback and lay in a lot of holes. Today, I read a blogger's article to solve this problem. He explains each part o...
Encapsulate a super simple vue sharing component
Update: from May 2018, jithis will turn off sharing function. Please use http://sharesdk.mob.com/ Or search other social sharing Libraries When devel...
It seems that it is not the most complete array de duplication method
In this article, we will talk about array de duplication. 1. The simplest and rudest way, double for loop let arr = [9, 5, 6, 5, '1', '...
Analysis of processOptions processing Options and entry function of Web pack source code
Let's open bin/cli.jsAccording to the Options returned last time processOptions(options)This is easier to read because of the foundation of the l...
Using echarts to draw multidimensional histogram
Preface Before that, I've shared with you how to use echarts to draw line graphs, double line graphs and histogram. Today, I'd like to shar...
vuex common practice code (synchronous + asynchronous)
vuex has been used in several projects of vue. To summarize, it is convenient to use Warehouse writing (store.js) 1. Introduction import Vue from ...
Use React setState like this to develop a direct call line!
(Long time no see, title skin, content or conscience)As we all know, React realizes the management of components by managing state, and setState is th...
Using form create to dynamically generate vue components
Using form create to dynamically generate vue custom components and nested form components [github] | [description document] maker.create Build custo...
Html reads the pictures in the local folder and displays
One purpose Select the local folder on Html, automatically read all pictures under the folder and subfolder and display them on the page. Technical a...
The use of higher order functions
problem Byte skipping: the original function, such as fetchData, is an asynchronous function, trying to get some information from the server and retur...
Nine palace pattern of lottery component
Written in front I changed my career in the middle and bumped into the front end by mistake. It may be due to my 'laziness'. I have never pu...
How H5 evokes Baidu map App
Recently, I took over a demand for hybrid development. After h5, the front-end embedded the page into ios and android, and the map navigation of Baidu...