0.1.20 • Published 4 years ago

@ppci-mock/custom-checkbox v0.1.20

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

Checkbox

Table of contents

Installation

NPM

npm i @ppci-mock/custom-checkbox

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

Usage

Javascript

import '@ppci-mock/custom-checkbox'

Browser

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

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

<!-- Component -->
<custom-checkbox
  name=${String}
  label=${String}
  placeholder=${String}
  @change=${Function}
  @change-delayed=${Function}
  ?checked=${Boolean}
></custom-checkbox>

Styling

custom-checkbox {
}

Properties

Events

0.1.20

4 years ago

0.1.18

4 years ago

0.1.16

4 years ago

0.1.17

4 years ago

0.1.13

4 years ago

0.1.14

4 years ago

0.1.15

4 years ago

0.1.12

4 years ago

0.1.10

4 years ago

0.1.11

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.5

4 years ago