Hi Me ,
We achieved the container using HTML tags and styles in our Angular 2 sample browser. We can also achieve the same appearance using ejAccordion component with single item. Refer to the below code snippet.
<ej-accordion> <h3> <a rel='nofollow' href="#">{{sampleName}}</a> </h3> <div> <main> <router-outlet></router-outlet> </main> </div> </ej-accordion>
|
The sample name(URL hash value) act as header and routing component will be the content for ejAccordion component.
We have prepared Angular 2 application to achieve the requirement.
Refer the below links to know more about ejAccordion component.
Please let us know if you need further assistance on this.
Regards,
Subha Shree D.R