@positioner/psk-tabs
v1.0.2
Published
Frontend package for PSK Tabs
Downloads
14
Readme
PSK Tabs
Frontend package for PSK Tabs
Install
npm i @positioner/psk-tabs
Usage
JS
<!-- Include with a CDN -->
<script src="https://cdn.jsdelivr.net/npm/@positioner/[email protected]/psk-tabs.min.js"></script>
<script src="https://unpkg.com/@positioner/[email protected]/psk-tabs.js"></script>
SCSS
// Include in your stylesheet
@import '../node_modules/@positioner/psk-gallery/scss/psk-tabs';
HTML
<div class="tabs">
<ul class="tabs-triggers">
<li><a href="javascript:;">Tab 1</a></li>
<li><a href="javascript:;">Tab 2</a></li>
<li><a href="javascript:;">Tab 3</a></li>
</ul>
<div class="tabs-content">
<div>a</div>
<div>b</div>
<div>c</div>
</div>
</div>
Release notes
- Fixed: Forgot to add types folder to npm
- Added: Typescript types