Creating custom component similar to Tabs / Accordion / Carousel ??
I am creating a Header component for my site, and would like the authoring experience to mimic the AEM Sites "Tab" component. The content author would put down the primary header component, and then place inside of it's parsys a number of flyout components. Only one flyout is expanded by default in edit mode, and the content author has the ability to toggle which flyout is currently visible for editing purposes.
In this case, my "Header" component is analogous to the "Tabs" component, and the "Flyout" component is analogous to the "Panel" component.
I already have the markup and css worked out for the header. Now I'm porting it to AEM and making it authorable.
Should I:
- Copy the out of the box Tabs component and rename all occurences of "tab" with "header"
- Create a new component called "Header" and set it's sling resource super type to the Tab component
- Something else??
I am basically looking for advice on the best and easiest way to achieve the editing experience of the tab components on my own custom component.