1.1.24 • Published 4 years ago

@ppci-mock/custom-select v1.1.24

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

Dropdown

Table of contents

Installation

NPM

npm i @ppci-mock/custom-select

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

Usage

Javascript

import '@ppci-mock/custom-select'

Browser

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

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

<!-- Component -->
<custom-select
  name=${String}
  label=${String}
  value=${String}
  placeholder=${String}
  .options=${Array}
  @change=${Function}
  ?disabled=${Boolean}
></custom-button>

Properties

Events