|
|
Creado por Iran Corrales Becerra
hace más de 6 años
|
|
| Pregunta | Respuesta |
| Create a component with CLI | ng g component <name> ng generate component <name> |
| Create a new app with CLI | ng new <app name> |
| default selector name | app-<component-name> |
| run angular with CLI | ng serve |
| EVENT structure | (click)="changeName()" |
| Angular EVENTS | mouseenter, click, drag, focus, submit, scroll, cut, copy, keydown, etc |
| ngClass | It is a Attribute directive |
| ngFor | it is a structural directive |
| ngIf | it is a structural directive |
| STRUCTURAL DIRECTIVES | ngIf, ngFor |
| ATTRIBUTE DIRECTIVES | ngClass |
| TYPE OF DIRECTIVES | COMPONENT, STRUCTURAL DIRECTIVES, ATTRIBUTE DIRECTIVES |
| {{ }} | Binding |
| Generate Directive CLI | ng generate directive |
¿Quieres crear tus propias Fichas gratiscon GoConqr? Más información.