DEV Community

Discussion on: Component Libraries with Stencil.js - Decorators

Collapse
 
citscibio1 profile image
CITSCIBIO

Great series. I wonder if you could help out continue working on your code. I tried to implement stitching the tabs and in the tabs.tsx file's render function I want to display the innerHTML of the tab tag. It displays text, but if I have something like


the other tag is not rendered. How can I get the inner contents of the in the and display it with proper rendering? I.e. I want to implement switching tabs and display all the content of the tab properly rendered. Thanks!

Collapse
 
johnbwoodruff profile image
John Woodruff

Thanks for the comment! Unfortunately at this time I'm not working on this content and don't have any plans to for the near future. That being said, if you're working with Stencil and have questions on how to do things, I HIGHLY recommend checking out the ionic-framework repository. They have a massive component library and it's all built with Stencil best practices. (they did create Stencil for their framework after all!) They've got their tabs component you can reference, and it'll be far better than what I could recommend. :)