https://github.com/moshfeu/select2-placeholder-transition
an extends to the popular jquery plugin - select 2 that animating the placeholder
https://github.com/moshfeu/select2-placeholder-transition
jquery-plugin placeholder select2
Last synced: 3 months ago
JSON representation
an extends to the popular jquery plugin - select 2 that animating the placeholder
- Host: GitHub
- URL: https://github.com/moshfeu/select2-placeholder-transition
- Owner: moshfeu
- License: mit
- Created: 2018-04-09T05:29:03.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-11T20:01:11.000Z (about 7 years ago)
- Last Synced: 2025-03-26T05:46:45.536Z (3 months ago)
- Topics: jquery-plugin, placeholder, select2
- Language: HTML
- Homepage: https://moshfeu.github.io/select2-placeholder-transition/
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/select2-placeholder-transition)
[](https://hits.dwyl.com/dwyl/start-here)
[](https://github.com/moshfeu/select2-placeholder-transition/issues)# select2-placeholder-transition
an extends to the popular jquery plugin - [select2](https://github.com/select2/select2) that animating the placeholder# Usage
$(document).ready(function() {
$(".select2-placeholder-transition").select2PlaceholderTransition({
placeholder: 'Destination(s)'
/*,... other options*/
});
});**All the options will pass as is to the `select2` function, except `placeholder` which will be handle by this plugin**
# Demo
This plugin wrote with love futher this question in Stackoverflow: [https://stackoverflow.com/q/49719506/863110](https://stackoverflow.com/q/49719506/863110)