Package Exports
- sk-tabs-default
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sk-tabs-default) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Skinny Widgets Tabs for Default Theme
tabs element
npm i sk-tabs sk-tabs-jquery --savethen add the following to your html
<sk-config
theme="default"
base-path="/node_modules/sk-core/src"
theme-path="/node_modules/sk-theme-default"
></sk-config>
<sk-tabs id="tabs">
<sk-tab title="foo">
some foo tab contents
</sk-tab>
<sk-tab title="bar">
some bar tab contents
</sk-tab>
<sk-tab title="baz">
some baz tab contents
</sk-tab>
</sk-tabs>
<script type="module">
import { SkTabs } from './node_modules/sk-tabs/index.js';
customElements.define('sk-tabs', SkTabs);
</script>attributes
disabled - all tabs disabled
template
id: SkTabsTpl