JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q82107F
  • License ISC

Package Exports

  • @ppci-mock/pie-chart

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 (@ppci-mock/pie-chart) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Pie Chart

Table of contents

  1. Installation
  2. Usage
  3. Properties

Installation

NPM

npm i @ppci-mock/pie-chart

// Polyfill: https://lit-element.polymer-project.org/guide/use#polyfills
npm i --save-dev @webcomponents/webcomponentsjs

Usage

Javascript

import '@ppci-mock/pie-chart'

Browser

<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/pie-chart/builds/index.min.js" />

<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/pie-chart/builds/legacy.min.js" />

<!-- Component -->
<pie-chart
  .data=${Array}
></pie-chart>

Properties

Property Type Description Possible Values
*data* Array Pie chart data list