Angular - webpack 2 cases
It took more than a week to build a simple wap station.
I have studied webpack before, but I haven't used it. This time, the company is going to build an h5 website, which is just used for practice. It says that angular 1x is not very friendly to the mobile end, but it is mainly because angular 1x is familiar with, quick to start and fast to ...
Posted by venkat20 on Fri, 28 Jun 2019 17:03:04 -0700
vue source code interpretation-component mechanism
As the original jquery, angular user. Reaction and Vue are touched at the back. Gradually fell in love with vue. Keep an attitude of learning. Look at the source code. Sure enough, vegetables have to pay a price. Step by step debugging. My head aches. See where and remember where. A little bit of experience. Please point out the mistakes for me ...
Posted by snorky on Sun, 23 Jun 2019 17:22:25 -0700
Angular JS - Custom Instructions
Starting from the definition of instructions, this article records the factors that affect the behavior of instructions when defining an instruction.
Try to feel these factors and write Angular JS applications more efficiently.
Directive
Start by defining a simple instruction. Defining an instruction essentially adds functionality ...
Posted by tzzoug on Wed, 19 Jun 2019 13:08:11 -0700
Draw a water polo with canvas
The sample code is hosted in: http://www.github.com/dashnowords/blogsBlog Garden Address: The original bibliography of Dashi Living in the Big Front End
Huawei Cloud Community Address: [Guidelines for Upgrading Your Front-end Crackers]
[TOC]
I. Mission Statement
Using the native canvas API to draw a water polo map will be an interesting chall ...
Posted by kevinfwb on Wed, 19 Jun 2019 12:53:04 -0700
Angular 4 Brief Introduction Notes
I used Angular 1 when I was just practicing. At that time, I really could not write native JavaScript, so I did some management background. Then suddenly changed the project, Angular did not write, feeling that he had been in contact with Angular 1 for more than a year before and after, and only knew a little about it.
Recently, there was a nee ...
Posted by M4ngo on Sun, 16 Jun 2019 12:54:58 -0700
Data Structure in Web Advanced JavaScript
Complexity analysis
Large O Complexity Representation
Common ones are O(1), O(n), O(logn), O(n logn)
In addition to the large O representation, time complexity can be described in the following cases
Best case time complexity
Worst Case Time Complexity
Average case time complexity
Allocation time complexity
Code Execution Efficiency Analysis
...
Posted by fearfx on Sun, 16 Jun 2019 10:02:35 -0700
Angular2 uploads files using ng2-file-upload
Angular2 uploads files using ng2-file-upload
ng2-file-upload is a fully functional support library for uploading files
(Reference: http://www.jianshu.com/p/0741186f60ab https://segmentfault.com/a/1190000007886391 http://valor-software.com/ng2-file-upload/)
Angular2 uses ng2-file-upload to upload files:
1. Install ng2-file-upload module:
...
Posted by synted on Sat, 15 Jun 2019 10:12:55 -0700
Customized drawing of circles, rings and arcs
Sometimes when we are programming, we need to use canvas to customize drawing graphics. Here we introduce the method of drawing circles, rings and arcs.
1. Drawing a circle and drawing a circle can be accomplished by calling drawCircle. The API method is as follows:
Canvas.drawCircle(float cx, float cy, float radius, Paint paint); //cx, ...
Posted by throx on Wed, 05 Jun 2019 15:53:11 -0700
Ionic Foundation - Listion-list
List: ion-list
Listing is a common way of organizing information. In ionic, list elements are declared using ion-list instructions, and member elements are declared using ion-item instructions:
<ion-list>
<ion-item>...</ion-item>
<ion-item>...</ion-item>
...
</io ...
Posted by phpeanuts on Fri, 31 May 2019 17:56:23 -0700
Angular JS form validation
Angular JS official website
Angular JS Basic Instructions
ng-model instruction
ng-model: Binding HTML controller values to application data
The ng-model instruction is used to bind application data to the value of the HTML controller (input,select,textarea)
ng-model specifies that the values of input fields can also be bound to variabl ...
Posted by ayok on Mon, 27 May 2019 13:27:43 -0700