jQuery source code analysis animation module convenient animation details

jquery encapsulates several API s on the $. animate() interface for animation operations of matching elements, as follows: $(selector). Show (speed, eating, callback); if the selected elements have been hidden, these elements will be displayed $(selector). Hide (speed, eating, callback); hide the selected element if it is already displayed $(s ...

Posted by esthera on Sun, 23 Feb 2020 03:54:29 +0100

[JavaScript] base conversion & bit operation, what do you know?

Preface Base and bit operations are rarely touched in general code, but this does not mean that we can not learn it. As a programmer, these are the basics. If you haven't learned this knowledge, don't panic. The next knowledge won't be very difficult. In this article, you will learn: Binary conversion Bitwise operator Javascript base conversio ...

Posted by pinochio on Sat, 22 Feb 2020 09:46:22 +0100

JS array method summary (: ι) ιιιιιιιιιιιιιιιιι...

Catalog Be careful: Directory can be clicked to jump (it's not blue, I'm afraid you don't know) Mobile terminal, can't jump Es3 (including previous) concat pop push shift unshift reverse sort join slice splice toLocaleString toString toSource ES5 Array.isArray indexOf lastIndexOf every some forE ...

Posted by ashrust on Fri, 21 Feb 2020 13:35:29 +0100

The control collection cannot be modified because the control contains a code block

I tried to create a simple user control, which is a slider. When I add the Ajax toolkit sliderextender to the user control, this error appears (* & $() @: Server Error in '/' Application. The Controls collection cannot be modified because the control contains code blocks (i.e. `<% ... %>`). Description: An unhandled exception occur ...

Posted by dnamroud on Wed, 19 Feb 2020 11:10:39 +0100

ES6 expansion operators of several clever uses, the boss said!

ES6 adds the... Operator, which is usually used to extract the remaining parameters and expand the array in the function. But in fact, its purpose is more than that. This article introduces several techniques to use it to operate JavaScript objects. 1. Add attribute When you copy an object, add new properties to it. In the example, the user obj ...

Posted by Schlo_50 on Sun, 16 Feb 2020 09:31:30 +0100

JavaScript object-oriented programming -- ES6

Class 1 In the previous articles, we introduced the object-oriented programming of ES5. We know that before ECMAScript6 specification, there was no concept of class in JavaScript, only constructor was allowed to simulate class, and inheritance was implemented through prototype. This way of implementin ...

Posted by vlcinsky on Sun, 16 Feb 2020 05:05:34 +0100

MVVM Principle-1-Principle Analysis

MVVM - Introduction and Demo What is MVVM implemented in Vue? First, the first M refers to the Model, which is also the ** data model. In fact, it refers to the data, which is changed into the Vue. In fact, it refers to the data ** in the Vue component instance. But this data has been defined from the very beginning as responsive data. T ...

Posted by wyrd33 on Sat, 15 Feb 2020 18:34:15 +0100

SpringBoot default JSON resolution scheme

1. What is JSON JSON (JavaScript Object Notation) is an open standard data exchange format based on a subset of JavaScript syntax.JSON is text-based, lightweight, and is generally considered easy to read/write. Okay, let's not talk a lot. Here's how to use JSON in SpringBoot. 2. How to use JSON in S ...

Posted by spicey on Sat, 15 Feb 2020 07:16:23 +0100

Example of JS using cookie to save user login information

This article describes how JS uses cookie s to save user login information. To share with you for your reference, as follows: Generally, cookies and session s are used to store information in web development. Sessions exist in the memory of the server, while cookies exist in the client. Therefore, js ca ...

Posted by epp_b on Fri, 14 Feb 2020 16:53:50 +0100

Qt embedded Baidu map

Catalog Qt embedded Baidu map 1.WebEngineView declaration and definition 2. Use Baidu map JavaScript API 2.1. Register account, add application and obtain ak code 2.2. Set container style and create map container element 2.3. Initialize map and display 3.Qt calls Javascript function 4.Javascr ...

Posted by ducey on Wed, 12 Feb 2020 18:00:36 +0100