dnn-tab
should only be used as part of dnn-tabs
in order to define the title and content of each of the tabs.
Represents a single tab and must be used inside a dnn-tabs element.
<dnn-tabs>
<dnn-tab tab-title="First Tab">
<p>Content of the first tab.</p>
</dnn-tab>
<dnn-tab tab-title="Second Tab">
<p>This is the second tab</p>
</dnn-tab>
</dnn-tabs>
<dnn-tabs>
<dnn-tab tabTitle="First Tab">
<p>Content of the first tab.</p>
</dnn-tab>
<dnn-tab tabTitle="Second Tab">
<p>This is the second tab</p>
</dnn-tab>
</dnn-tabs>
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
tabTitle (required) |
tab-title |
Defines the tab title. | string |
undefined |
Hides the modal
Type: Promise<void>
Shows the tab.
Type: Promise<void>
graph TD;
dnn-color-input --> dnn-tab
style dnn-tab fill:#f9f,stroke:#333,stroke-width:4px
Built with StencilJS