### File

`src/app/user/user.component.ts`

### Implements

`OnInit`

### Metadata

selector | `app-user`
styleUrls | `user.component.scss`
templateUrl | `./user.component.html`

### Constructor

`constructor()`
Defined in src/app/user/user.component.ts:8

### Methods

ngOnInit
`ngOnInit()`
Defined in src/app/user/user.component.ts:12
Returns: `void`

    import { Component, OnInit } from '@angular/core';

    @Component({
      selector: 'app-user',
      templateUrl: './user.component.html',
      styleUrls: ['./user.component.scss']
    })
    export class UserComponent implements OnInit {

      constructor() { }

      ngOnInit() {
      }

    }

    <div class="container-fluid">
      <div class="col-md-12">
        <h4> My Account </h4>
        <hr>
      </div>

      <div class="sidebar col-md-3">
        <p><a routerLink="/user/overview" routerLinkActive="active">Overview</a></p>
        <hr>
        <p><small>ORDERS</small></p>
        <p><a routerLink="/user/orders" routerLinkActive="active">My Orders</a></p>
        <hr>
        <p><a routerLink="/user/addresses" routerLinkActive="active">My Address</a></p>
      </div>

      <div class="col-md-9">
        <router-outlet></router-outlet>
      </div>
    </div>

Legend
Html element
Component
Html element with directive

# results matching ""

# No results matching ""