0.1.16 • Published 4 years ago

@ppci-mock/source-filter v0.1.16

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Source Filter

Table of contents

Installation

NPM

npm i @ppci-mock/source-filter

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

Usage

Javascript

import '@ppci-mock/source-filter';

Browser

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

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

<!-- Component -->
<source-filter
  .categories=${Array}
  @change="${Function}"
  @filter="${Function}"
  @sort="${Function}"
></source-filter>

Properties

Events