Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

hide parent component when child component loaded

{
    path: 'parent',
    //component: ParentComponent,
    children: [
      { path : '', pathMatch:'full', component: ParentComponent},
      { path: 'child', component: ChildComponent },
    ],
  }  

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #hide #parent #component #child #component #loaded
ADD COMMENT
Topic
Name
8+5 =