@paraboly/pwc-tabview
TypeScript icon, indicating that this package has built-in type declarations

3.1.5 • Public • Published

Built With Stencil

WebComponent PWC Tabview

Simple and self-contained tabview

npm version npm Platform - Platform Free Web License: MIT

WebComponent PWC Tabview

Live JSFiddle Example

Installation

Script tag

  • Put two script tags similar to this in the head of your index.html:
<script
  type="module"
  src="https://unpkg.com/@paraboly/pwc-tabview@latest/dist/pwc-tabview/pwc-tabview.esm.js"
></script>
<script
  nomodule
  src="https://unpkg.com/@paraboly/pwc-tabview@latest/dist/pwc-tabview/pwc-tabview.js"
></script>
  • Then you can use the element anywhere in your template, JSX, html etc

Node Modules

  • Run npm install @paraboly/pwc-tabview --save
  • Put a script tag similar to this <script src='node_modules/@paraboly/pwc-tabview/dist/pwc-tabview.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

In a stencil-starter app

  • Run npm install @paraboly/pwc-tabview --save
  • Add an import to the npm packages import @paraboly/pwc-tabview;
  • Then you can use the element anywhere in your template, JSX, html etc

Usage

<pwc-tabview>
  <pwc-tabview-tab title="title text">
    Tab content
  </pwc-tabview-tab>

  <pwc-tabview-tab title="title text">
    Tab content
  </pwc-tabview-tab>
</pwc-tabview>

Authors

S. Tarık Çetin (starikcetin), tarik.cetin@paraboly.com | cetinsamedtarik@gmail.com

License

WebComponent PWC Tabview is available under the MIT license.

See the LICENSE file for more info.

Package Sidebar

Install

npm i @paraboly/pwc-tabview

Weekly Downloads

8

Version

3.1.5

License

MIT

Unpacked Size

1.26 MB

Total Files

89

Last publish

Collaborators

  • parabolynpm