colorpicker-demo.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /* Colorpicker */
  2. $(function() { "use strict";
  3. $('#colorpicker-inline').minicolors(
  4. {
  5. animationSpeed: 100,
  6. change: null,
  7. changeDelay: 0,
  8. control: 'hue',
  9. defaultValue: '',
  10. hide: null,
  11. hideSpeed: 100,
  12. inline: true,
  13. letterCase: 'lowercase',
  14. opacity: true,
  15. position: 'bottom right',
  16. show: null,
  17. showSpeed: 100,
  18. textfield: true,
  19. theme: 'default'
  20. });
  21. });
  22. $(function() { "use strict";
  23. $('#colorpicker-tl').minicolors(
  24. {
  25. animationSpeed: 100,
  26. change: null,
  27. changeDelay: 0,
  28. control: 'wheel',
  29. defaultValue: '',
  30. hide: null,
  31. hideSpeed: 100,
  32. inline: false,
  33. letterCase: 'lowercase',
  34. opacity: false,
  35. position: 'top left',
  36. show: null,
  37. showSpeed: 100,
  38. textfield: true,
  39. theme: 'default'
  40. });
  41. });
  42. $(function() { "use strict";
  43. $('#colorpicker-br').minicolors(
  44. {
  45. animationSpeed: 100,
  46. change: null,
  47. changeDelay: 0,
  48. control: 'hue',
  49. defaultValue: '',
  50. hide: null,
  51. hideSpeed: 100,
  52. inline: false,
  53. letterCase: 'lowercase',
  54. opacity: false,
  55. position: 'bottom right',
  56. show: null,
  57. showSpeed: 100,
  58. textfield: true,
  59. theme: 'default'
  60. });
  61. });