Skip to content

Instantly share code, notes, and snippets.

View minhazfm's full-sized avatar

Minhaz Mohammad minhazfm

View GitHub Profile
@minhazfm
minhazfm / dashboard.component.ts
Created April 28, 2020 16:19
Angular Dynamic Child Component
<!-- TypeScript -->
import { Component, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { ActivatedRoute, Router, ParamMap } from '@angular/router';
import { switchMap } from 'rxjs/operators';
export interface ParentRoomInterface {
remove(roomNumber: string);
}