an extends to the popular jquery plugin - select2 that animating the placeholder
$(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
This plugin wrote with love futher this question in Stackoverflow: https://stackoverflow.com/q/49719506/863110