Python_Day01 (Hello and Turtle libraries)

Python_Day01 (Hello and Turtle libraries) Hello world // hello.py print('Hello world!') print('Hello World!') print('Hello','world') print('hello', 'world', sep=', ', end='!') print('goodbye, world', end='!\n') Methods of Turtle Library 1.forward() | fd(): Move a specified distance forward.Paramet ...

Posted on Sat, 25 Jan 2020 22:00:18 -0800 by nuying117

ng-template syntax

interpolation Text Binding <p>Message: {{ msg }}</p> <p [innerHTML]="msg"></p> Property Binding <!-- how to write --> <img src="{{ heroImageUrl }}"> <!-- Writing 2, Recommendation --> <img [src]="heroImageUrl"> <!-- Writing Method Three --> <img bind-src="heroImageUrl"> In the case ...

Posted on Tue, 21 Jan 2020 19:52:01 -0800 by .-INSANE-.

Chuanglebo Robot Learning

Article Directory Explain Shortcut keys Start a new terminal Jump to Project Directory Code Location Chassis code Initial use Configure the IP address of the connection Open chassis to run program Sign in Function Open Keyboard Control Program Open debugging window Open Software Open Coordina ...

Posted on Sun, 12 Jan 2020 17:23:39 -0800 by samip1983

AngularJS, paging, update check box

1. AngularJS framework (1) Four features of angularjs 1 MVC mode (code separation) 1) Model: data, in fact, is the angular variable ($scope.XX); 2) View: data presentation, HTML + directive (instruction); 3) Controller: operation data, that is, function, data addition, deletion, modification and query; 2 two wa ...

Posted on Tue, 31 Dec 2019 18:19:33 -0800 by WhiteHawksan

Angular4 parent child component passes @ Input and @ Output

Angular provides @ Input and @ Output syntax to handle component data Input and Output. @Input Input input property. The parent component passes information to the child component. Parent HTML code: <div> //This is the value entered in the parent component:<br><br>{{inputTransmission}} </div&g ...

Posted on Tue, 31 Dec 2019 07:24:32 -0800 by Dujo

angularJS introduction demo

To use angular JS, you need to import the file < script SRC = "angular.min.js" > < script > in the header Download address of angular.min.js file: https://pan.baidu.com/s/1-n0ZmWNLXS--HeCBVA3fAA   demo-01 - expression: <html> <head> <title>Small entry Demo-01 - Expression</title&g ...

Posted on Wed, 11 Dec 2019 09:03:33 -0800 by phpizza

Ask Angular - app ﹣ initializer

Summary                      . The app initializer token can do this.       . It can be configured in the form of factory in providers of AppModule class. Suitable for loading simple data or simp ...

Posted on Sun, 08 Dec 2019 22:51:19 -0800 by munkee

Front end in-depth js chapter Array array operation from introduction to Chengshen up up, updating continuously

Written in front With the in-depth study of the front-end, I found that the data structure of array has a considerable sense of existence in the front-end. Since I didn't learn array systematically when I started to learn the front-end, I will learn array with you through this article. I hope we can step forward together and learn to operate ar ...

Posted on Sun, 03 Nov 2019 22:25:00 -0800 by Ryan0r

Using the Angular RouteReuseStrategy caching (routing) component

Using the Angular RouteReuseStrategy cache component Cache components with Angular RouteReuseStrategy RouteReuseStrategy provider allows us to control the behavior of Angular routing and component lifecycle. When we switch between components, Angular will destroy the previous component and create a new one. In most cases, we may not want to let ...

Posted on Sun, 03 Nov 2019 03:04:20 -0800 by Jin597

angular Routing Multiplexing Strategy

Recently, when working out the refresh function of single page components, I came into contact with the routing reuse strategy, and summarized the following: Usage: New routing multiplexing file SimpleReuse Strategy.ts: import { RouteReuseStrategy, DefaultUrlSerializer, ActivatedRouteSnapshot, Detache ...

Posted on Tue, 08 Oct 2019 17:49:52 -0700 by fuii_koh