basic-inputs.js 1.3 KB

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