Vue module syntax

1. Interpolation 1.1 Text 1.2 html 1.3 Attributes 1.4 Expression <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <script src="https://cdn.bootcss.com/vue/2.6.10/vue.js"></script> <title>interpolat ...

Posted by TexasMd91 on Tue, 17 Sep 2019 19:29:32 -0700

How Android animates bubble selection

Unification of cross-platform user experiences is on the rise: earlier iOS and Android had different experiences, but more recently they have become closer in terms of application design and interaction.From the bottom navigation of Android Nougat to the split screen feature, there are many similarities between the two platforms.For designers, ...

Posted by hush on Sun, 15 Sep 2019 19:53:08 -0700

Using proxy to implement a simple and complete MVVM Library

Preface This article was first published in Front-end Development Blog mvvm is a necessary mode of daily business development at the front end of the current era (such as react, vue, angular, etc.). Using mvvm, developers can concentrate more on business logic than on how to operate dom. Although it has been 9012 years now, the introduction of ...

Posted by phpnewbie81 on Tue, 10 Sep 2019 01:59:23 -0700

Revelation of DOM Chapter 1

Original Link: https://my.oschina.net/u/1792175/blog/598104 1.1 DOM is a tree structure When you write down the following structure in HTML, the browser will parse it into a DOM tree: ...

Posted by Trent Hatred on Mon, 09 Sep 2019 10:35:13 -0700

Seven Basic Principles of Object Oriented (javaScript)

Object-oriented programming has its own characteristics and principles. If you have some understanding of object-oriented, the three characteristics of object-oriented are encapsulation, inheritance and polymorphism. If you don't know much about these three concepts, please refer to them. Three basic features of object-oriented (javaScript) Sin ...

Posted by wshost on Sat, 07 Sep 2019 05:33:03 -0700

Slide Paging Video Up and Down with Dummy

Directory Introduction 01. First look at the needs 02.There are several implementations 2.1 Use ViewPager 2.2 Use RecyclerView 03. Implement with ViewPager 3.1 Custom ViewPager 3.2 ViewPager and Fragment 3.3 Modify Sliding Distance Page Flipping 3.4 Modify sliding speed 04. Implement with RecyclerView 4.1 Customize LayoutManager 4.2 Add ...

Posted by jcleary on Fri, 06 Sep 2019 18:53:33 -0700

jQuery (Cascading, CSS, Properties)

Series operation Layout of basic HTML <div id="box"> <ul> <li class="item1">1</li> <li>2</li> <li class="item2">3</li> <li>4</li> <li>5</li> </ul> </div&gt ...

Posted by Hitman2oo2 on Fri, 06 Sep 2019 04:28:58 -0700

Using concent, experience a journey of progressively refactoring react applications

In the traditional redux project, the state we write in the reducer is bound to get through to the store. We need to plan the definitions of state and reducer at the beginning. Is there any way to enjoy the benefits of the separation of ui and logic quickly without starting from the rules and regulations according to the text? This article star ...

Posted by majocmatt on Sun, 01 Sep 2019 22:06:23 -0700

Basic Use of Option Menu in Android

Option Menu Basic Use The following figure is a basic Option Menu, which is basically used in three steps: creating a resource file, rewriting the onCreate Options Menu loading menu, and rewriting onOptions ItemSelected to handle click events. Step1: Create resource files The three points in the figure above are other hidden menus. The followi ...

Posted by blueguitar on Fri, 30 Aug 2019 01:21:24 -0700

JavaScript features to understand using React

Author: Kent C. DoddsTranslator: Crazy Technology House Original: https://kentcdodds.com/blog/j... Reproduction is strictly prohibited without permission One of the reasons I like React best than the other frameworks I use is its exposure to JavaScript. Without a template DSL (JSX compiled into reasonable JavaScript), component API s are simpl ...

Posted by R0CKY on Tue, 27 Aug 2019 22:16:57 -0700