Summary of Common Skills of Cocos Creator
Because of working reasons, I have been doing some things with Cocos Creator recently. Personally, it can be said that Cocos Creator is the game gospel of front-end developers. Front-end developers can use their front-end knowledge + Cocos Creator to customize a game of their own.
Just used Cocos Creator for more than a month, the author coll ...
Added by viko20 on Mon, 01 Jul 2019 01:08:29 +0300
Data Binding - Simple Data Binding
This document addresses the following issues:
1. Simple data binding
1. Attribute binding
Syntax: <%# Property Name%>
Note: You need to call the DataBind method of the Page class to perform the binding operation
2. Expression Binding
3. Collection Binding
4. Method Binding
1. Attribute binding
(1) Create a new website w ...
Added by mzfp2 on Sun, 30 Jun 2019 19:57:03 +0300
2017/5 JavaScript Foundation 8 - Functions, Scopes
I. Overview of Functions
1. Concept
A function is a block of JavaScript code that is defined once but can be executed and invoked many times. Functions are also objects. They can operate and transfer functions like other objects. Functions in Js are also called function objects.
2. Return value
1. The return value of a normal function dep ...
Added by kodlcan on Sun, 30 Jun 2019 04:55:44 +0300
Introduction to Common Commands in Linux (Directory Commands)
I. Command prompt
[root@localhost ~]#
Among them:
Symbol
Meaning
root
Current logged-in user
localhost
host name
~
Current directory (~Home directory)
#
Super User's Prompt (Ordinary User's Prompt is $)
II. Command Format
Command [Options] [Parameters]
Be careful:
Individual commands do not follow this format. Whe ...
Added by vombomin on Sun, 30 Jun 2019 04:45:47 +0300
30 minutes, let you understand the Promise principle thoroughly
Links to the original text
Preface
Some of the usual uses of promise have been documented a while ago. This article goes further to analyze how promise's rule mechanism is implemented. ps: This article is suitable for people who already know the use of promise. If you don't know the use of promise, you can move on to my last article. Bowen.
Th ...
Added by Russ on Sun, 30 Jun 2019 03:33:24 +0300
Four common ways of parsing XML
Four common ways of parsing XML
1. Introduction to XML Language
XML is an extensible markup language. It can define semantic markup (tag), which is a meta-markup language. Unlike HTML, which is a hypertext markup language, XML can only use specified tags. For XML, users can define tags they need. Tree model.
XML (eXtensible Markup Language) ...
Added by kiltannen on Sun, 30 Jun 2019 02:13:42 +0300
JavaScript Advanced Programming-this
Preface
Originally, this should be put in "Context and Scope". When I found myself sorting out, there were more and more examples. So I wrote a single article to deepen my understanding. Some problems related to this can be further improved in my future work or project.
this
concept
What is the value of this in a function is determin ...
Added by cosmicsea on Sat, 29 Jun 2019 23:15:30 +0300
SpringBoot__JSR303 Verifies the Input Parameters
Program Tool Class:
package com.liutao.utilitys;
import org.springframework.http.HttpStatus;
import org.springframework.validation.BindingResult;
import org.springframework.validation.ObjectError;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Parametric Verification Tool Class
*
* @author LIUTAO
* @version ...
Added by lip9000 on Sat, 29 Jun 2019 22:56:39 +0300
react source code analysis
Original address: http://www.html-js.com/article/JS-analysis-of-the-single-row-from-zero-reactjs-source-first-rendering-principle%203154
Front-end development is particularly rapid, experienced jQuery After the era of tool library under the unification of the world, various frameworks are now beginning to contend among hundreds of schools ...
Added by tempi on Sat, 29 Jun 2019 02:10:48 +0300
Web pack extracts CSS files and CSSTreeShaking
Web pack extracts CSS files
CSSTreeShaking
1. Extracting CSS files from webpack
Plug-in for extracting CSS files: mini-css-extract-plugin
npm install --save-dev mini-css-extract-plugin
Detailed reference: https://www.npmjs.com/package/mini-css-extract-plugin
But the premise is to download a css loader:
npm install css-loader --sa ...
Added by ArmanIc on Thu, 27 Jun 2019 21:37:02 +0300