Сибирские интеграционные системы
AngularSIS #1.18 - https://www.youtube.com/playlist?list=PLmEQRj1_Mt5fkeBYOw1o8k_o8-7POFZJN JavaSIS #2.19 - https://www.youtube.com/playlist?list=PLmEQRj1_Mt5f5MlXGlf5kzldb9Rl8Pwuo
Петров Андрей
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
@NgModule({
declarations: [ AppComponent ],
exports: [ AppComponent ],
imports: [ BrowserModule ],
bootstrap: [ AppComponent ]
})
export class AppModule { }
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { PrimaComponent } from './prima/prima.component';
@NgModule({
declarations: [
AppComponent,
PrimaComponent
],
imports: [
BrowserModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-prima',
templateUrl: './prima.component.html',
styleUrls: ['./prima.component.css']
})
export class PrimaComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
export class PrimaComponent implements OnInit {
title = 'Hello, course!';
constructor() { }
ngOnInit() {
}
}
export class PrimaComponent implements OnInit {
title: string;
constructor() {
this.title = 'Hello, course!';
}
ngOnInit() {
}
}
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-prima',
templateUrl: './prima.component.html',
styleUrls: ['./prima.component.css']
})
export class PrimaComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
export class PrimaComponent implements OnInit {
title: string;
constructor() {
this.title = 'Hello, course!';
}
ngOnInit() {
}
}
export class PrimaComponent
implements OnInit {
constructor() { }
ngOnInit() {
}
}
export interface OnInit {
ngOnInit(): void;
}
By Сибирские интеграционные системы
Погружение в TypeScript