blob: 60e3acc449ee6bf0e8a0c9e8a5c26c61e72aec38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
templateUrl: './app.component.html',
styleUrls: [ './app.component.css' ]
})
export class AppComponent {
name = 'Angular';
addPage() {
//Code here to move to add page
}
submitSearch() {
//Code here to submit search
}
shoppingCart() {
//Code here to move to shopping cart
}
}
|