basic-inputs.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*=========================================================================================
  2. File Name: basic-inputs.js
  3. Description: Input field js for label type
  4. ----------------------------------------------------------------------------------------
  5. Item Name: Robust - Responsive Admin Theme
  6. Version: 1.2
  7. Author: GeeksLabs
  8. Author URL: http://www.themeforest.net/user/geekslabs
  9. ==========================================================================================*/
  10. (function(window, document, $) {
  11. 'use strict';
  12. var $html = $('html');
  13. //label Positions
  14. $(".labelUp").labelinplace();
  15. $(".labelDown").labelinplace({
  16. labelPosition: "down"
  17. });
  18. // Label Icons
  19. $(".labelIcon").labelinplace({
  20. labelArrowRight: ' <i class="icon-hand-o-right"></i> ',
  21. labelArrowDown: ' <i class="icon-hand-o-down"></i> ',
  22. labelArrowUp: ' <i class="icon-hand-o-up"></i> '
  23. });
  24. // Icons After Label
  25. $(".labelIconAfter").labelinplace({
  26. labelArrowRight: ' <i class="icon-caret-right"></i> ',
  27. labelArrowDown: ' <i class="icon-caret-down"></i> ',
  28. labelArrowUp: ' <i class="icon-caret-up"></i> ',
  29. labelIconPosition: "after",
  30. inputAttr: "id"
  31. });
  32. })(window, document, jQuery);