select2-placeholder-transition

an extends to the popular jquery plugin - select 2 that animating the placeholder

View on GitHub

https://nodei.co/npm/select2-placeholder-transition.png?downloads=true&downloadRank=true&stars=true

HitCount contributions welcome

select2-placeholder-transition

an extends to the popular jquery plugin - 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