Small Copy of Knowledge Points of JavaScript Mode

introduce Recently, I started to set up a learning task for myself every week. The learning results are fed back to the output of an article and the learning records are made well. My goal for this week (02.25-03.03) JavaScript Mode Chapter 7: Learn it again. Feedback of learning results is this article. Because the content is too long, I d ...

Posted by oshecho on Mon, 20 May 2019 02:07:11 +0200

TypeScript classes, interfaces, inheritance

TS introduces the concept of Class as a template for objects. Classes can be defined by the class keyword. Basically, TS's class can be regarded as a grammatical sugar, and most of its functions can be achieved by ES5. The new class writing just makes the object prototype writing more clear and more like the grammar of object-oriented program ...

Posted by kostik on Sun, 19 May 2019 17:24:11 +0200

JS Basic Function-Object-Oriented Programming

function Definition of function <script> /* Define a function function Function name () { code block } Requirement 1: Write a function to add 1 to 100 */ function sum(){ var num = 0; for(i=1;i<=100;i++){ num += i; } console.log(num); } /* Call ...

Posted by adrianpeyton on Sun, 19 May 2019 17:11:10 +0200

Understand the principles of elementUI instructions and service modes thoroughly

Not willing to be a wheeler!!! Recording the Hard Way of a Picture Preview Component for an Internship Rookie~ Instruction mode and service mode are used in many components of elementUI, such as: loding, message, etc. Take the loading component as an example: Instruction mode: <template> <div :v-loading.fullscreen="true">Full scr ...

Posted by theperfectdrug on Sun, 19 May 2019 15:16:05 +0200

Android Custom View (2. Deep parsing of custom attributes)

Catalog: Why do you want to customize attributes How to customize attributes Type format for attribute values Getting attribute values in classes Attributeset and TypedArray and declare-styleable In the last blog Android Custom View (First Experience) We have experienced the basic process of custom control: Inheriting View ...

Posted by mallen on Sun, 19 May 2019 13:32:07 +0200

spring boot and thymeleaf (3): Setting properties, conditions, traversal, local variables, priorities, inline syntax

The basic expression of thymeleaf has been recorded earlier, so let's continue to look at other functions. Setting property values controller, html framework still follows the previous section. html: <div class="panel panel-primary"> <div class="panel-heading"> <h3 class= "panel-title"> Set attribute val ...

Posted by seidel on Sun, 19 May 2019 09:54:24 +0200

First submission of GIT and detailed configuration of creation management of Git version Library

I. Creating Version Library and First Submission   Configure the GIT environment variable to tell git the name and email address of the current user, and the configured username and email address will be used when the version library is submitted.  #git  config  --global  user.name "KangShuo" #git  config  --global  user. ...

Posted by The End on Sun, 19 May 2019 05:18:17 +0200

Android Design Patterns - Builder Patterns

Preface Android Design Patterns Series: Welcome your attention and keep updating: 1. definition Separating the construction of a complex object from its representation enables the same construction process to create different representations. 2. introduction The builder model belongs to the creation model. Builder mode is mainly used t ...

Posted by dhe on Sun, 19 May 2019 04:22:01 +0200

Dynamic Modification of Application Icon and Name in AndroidManifest.xml

I. activity-alias Tags Android supports dynamic modification of application icons and application names. Apps such as Taobao and Jingdong automatically change icons without updating when they are double 11 and double 12, so the best application scenario for dynamically updating the icons and names of applications is just like that used in pro ...

Posted by biba028 on Sun, 19 May 2019 04:19:28 +0200

Talk about Render Props in React

Brief introduction: The separation of UI from business has been evolving, from early mixins, to HOC, to Render Prop. This article mainly compares HOC and talks about Render Props 1. Early mixins Early reuse businesses were implemented through mixins, such as component A and component B, which had common functions that ...

Posted by nemonoman on Sun, 19 May 2019 04:06:45 +0200