When the WeChat applet encounters AR
When the WeChat applet encounters AR, what kind of sparks will it wipe out?Expectation and excitement...
Through this tutorial, you can start from the foundation to create an AR framework for a WeChat applet, all of which are open source and available for everyone to learn.
This course requires some foundation: WeChat Developer Tools, Jav ...
Posted by 555sandy on Wed, 06 May 2020 21:34:06 -0700
JS Objects and Prototypes
I. Objects of JS
1.1 Several ways to create objects
1.1.1 Create Objects by Literal Quantity
In js, a pair of {} is actually an object
var person = {
name: "tom",
age: 23,
read: function () {
console.log(name, ": read book")
}
}
1.1.2 via the constructor of the sys ...
Posted by lunarul on Wed, 06 May 2020 18:06:59 -0700
Mixins + operational dom (ref and $refs) + a little understanding of component exposure in vue.
Mixing (Mixins)
What is mixins?Is a way to reuse functions during component development in vue
When the page styles are different, but the methods you perform and the data you need are similar, you can use Mix Bar, a common and identical part of the extract to encapsulate, reduce the amount of code and make modifications and tests more diff ...
Posted by barry_p on Wed, 06 May 2020 17:14:50 -0700
Introduction and learning notes of Angular
Angular
The performance of Google's open source JavaScript library is much higher than that of the previous version. It uses Typescript and new mode for development, so from the second version, the number of people has suddenly dropped dramatically.
Technology: basic use of typescript, es6
Typescript is a superset of JavaScript. Both JavaScr ...
Posted by gokhul on Wed, 06 May 2020 05:53:50 -0700
How to use the thrift service engine component
This article describes how to use thrift to call RPC remotely if thrift components are integrated into the surging micro-service engine, then dotnetty or thrift can be selected as the service or surging can be invoked through thrift in other languages. Here is a brief description of how to use thrift
Dead work
First need to Official Web Downl ...
Posted by DillyDong on Tue, 05 May 2020 20:02:48 -0700
RN implementation of e-commerce App (1)
Home page design of e-commerce App
Generally, there are four types:
-Status bar
-Search box
-Round robin advertising
-Commodity information
1, Search box
Basic components: TextInput,Button.
TextInput is the input component and Button is the Button component.
<TextInput style={styles.input}
placeholder='Sear ...
Posted by cookspyder on Tue, 05 May 2020 18:54:29 -0700
Jquery Custom Plugin
In the previous article, plug-ins with several different functions were introduced. You should think about how plug-ins are generated. A plug-in is a function or a style that a user encapsulates for ease of use.
The consumer can simply call a method, or a selector, and so on.This idea is common, and people who type code always think about how t ...
Posted by zimick on Tue, 05 May 2020 17:49:07 -0700
Learning summary of iterator pattern
1, Concept
An aggregate object has two responsibilities, one is to store internal data, the other is to traverse internal data. From the perspective of dependency, the former is the fundamental attribute of aggregate object, while the latter can be changed and separated. The traversal behavior of the aggregate object is extracted as an iterat ...
Posted by mrkite on Tue, 05 May 2020 14:59:02 -0700
Getting and setting the width and height of div by jQuery
There are two ways to get and set the width and height of a div: using the dimension function or using the css method
Get width and height
1. Dimension function: height() gets height, width() gets width
2. Obtain div width and height by CSS: obtain height by css("height") and width by css("width")
Diffe ...
Posted by skatermike21988 on Tue, 05 May 2020 10:56:29 -0700
Datatable C ා column names in DataRow in use are not case sensitive
We see a piece of code that needs to dynamically transform the model in our work. When there are many data, the efficiency will be slow. Though C ා is case sensitive, it is fuzzy in Datarow, so C ා is very useful. The example Demo is as follows, and the second method is recommended.
Recommended writing:
publ ...
Posted by crazylegseddie on Tue, 05 May 2020 10:18:51 -0700