1.0.0 • Published 7 years ago
helioscustomselect v1.0.0
Helios Custom Select
Usage
Include jQuery:
<script src="https://code.jquery.com/jquery-3.3.1.slim.js" integrity="sha256-fNXJFIlca05BIO2Y5zh1xrShK3ME+/lYZ0j+ChxX2DA="
crossorigin="anonymous"></script>
Include plugin's CSS and JS:
<link rel="stylesheet" href="helios.customSelect.css">
<script src="helios.customSelect.js"></script>
Call the plugin:
$("#mySelect").customSelect({
border: "1px solid #cecece",
defaultText: "Escolha uma opção",
list: ["Opção 1", "Opção 2"]
});
And that's it :]
Check full example's source code.
To-Do
- Options Documentation
- Settings with data-*
- Add dropdown icons
- Validations
1.0.0
7 years ago