Angular
qq_28091171
这个作者很懒,什么都没留下…
展开
-
Pipe
pipesdeclare display-value transformations in your template HTML@Pipe decoratordefines a function that transforms input value to output value for display in a viewPipes API listpipe operator...原创 2020-03-07 17:14:51 · 131 阅读 · 0 评论 -
Data Binding
Add binding markup to the template HTMLto tell Angular how to connect both sidescomponent ----> DOM<li>{{hero.name}}</li>displays the component’s hero.name property value withi...原创 2020-03-07 10:14:50 · 158 阅读 · 0 评论 -
Template
What is Templatea form of HTMLcompanies with a component’s viewtells Angular how to render the componentdefines the component’s host viewWhat is Viewsarranged hierachicallymodify, show or hi...原创 2020-03-07 08:23:30 · 134 阅读 · 0 评论 -
Angular template-syntax elements
directivesDirectives give instructions to Angular on how to render the templates to the DOMA directive can be defined in Angular as a class with the @Directive decoratorA component is a special ki...原创 2020-03-07 08:36:50 · 192 阅读 · 0 评论 -
Angular Components
viewyou may divide your screen into multiple views, each one of them being controlled by a separate component.app.component.tsselector: ‘app-root’templateUrl: './app.component.html’specif...原创 2020-03-07 07:31:18 · 281 阅读 · 0 评论 -
Configuring Angular Application
Angular Material module: for designing the UI layouts. It provides us with a number of interesting layout components.Flex Layout: It is based upon the CSS flex layout, and enables us to do responsive...原创 2020-02-25 12:44:49 · 213 阅读 · 0 评论 -
Install Angular-CLIr
Install Angular-CLITo install angular-cli globally, type the following at the prompt:npm install -g @angular/cli@6.2.1Use sudo before npm on a Mac and Linux Angular CliThis will make the comma...原创 2020-02-21 13:55:43 · 98 阅读 · 0 评论 -
Node.js
how to install an npm mudulehow to use the lite server npm module to serve up the contents of our project folder (so that it can be viewed in a browser)set up .gitignore (come folders can be exclud...原创 2020-02-21 12:51:07 · 112 阅读 · 0 评论