0.0.0 • Published 6 years ago
@powerpeers-test/custom-select v0.0.0
Dropdown
A dropdown
Table of contents
Installation
CDN
<script type='module' src="http://developer.powerpeers.com/social/1.0.0/custom-select.js" />NPM
npm i @ppci/custom-selectUsage
// Javascript import
import '@ppci/custom-select'<!-- or module import -->
<script type="module" src="http://developer.powerpeers.com/social/1.0.0/custom-select.js" />const options = [
{ label: 'Solar panel', value: '1' },
{ label: 'Wind', value: '2' },
];
<custom-select
name="devices"
label="Devices"
placeholder="Select a device"
options=${options}
@click=${onClick}>
</custom-button>Theme | Styling
custom-select {
}Properties
Events
Changelog
1.0.0 ( Major )
- Initial version of the custom select.
0.0.0
6 years ago