mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
committed by
Jessica Janiuk
parent
f9edb776ca
commit
2ca404dbfd
@@ -7,6 +7,5 @@ import { Component } from '@angular/core';
|
||||
})
|
||||
export class CartComponent {
|
||||
|
||||
constructor() { }
|
||||
|
||||
}
|
||||
|
||||
+2
-11
@@ -1,11 +1,6 @@
|
||||
// #docplaster
|
||||
/*
|
||||
// #docregion as-generated
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
// #enddocregion as-generated
|
||||
*/
|
||||
// #docregion imports
|
||||
import { Component, OnInit, Input } from '@angular/core';
|
||||
import { Component, Input } from '@angular/core';
|
||||
import { Product } from '../products';
|
||||
// #enddocregion imports
|
||||
// #docregion as-generated
|
||||
@@ -16,14 +11,10 @@ import { Product } from '../products';
|
||||
styleUrls: ['./product-alerts.component.css']
|
||||
})
|
||||
// #docregion input-decorator
|
||||
export class ProductAlertsComponent implements OnInit {
|
||||
export class ProductAlertsComponent {
|
||||
|
||||
// #enddocregion as-generated
|
||||
@Input() product!: Product;
|
||||
// #docregion as-generated
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user