You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.2 KiB
37 lines
1.2 KiB
/*=========================================================================================
|
|
File Name: basic-inputs.js
|
|
Description: Input field js for label type
|
|
----------------------------------------------------------------------------------------
|
|
Item Name: Modern Admin - Clean Bootstrap 4 Dashboard HTML Template
|
|
Version: 1.0
|
|
Author: Pixinvent
|
|
Author URL: hhttp://www.themeforest.net/user/pixinvent
|
|
==========================================================================================*/
|
|
|
|
(function(window, document, $) {
|
|
'use strict';
|
|
var $html = $('html');
|
|
|
|
//label Positions
|
|
$(".labelUp").labelinplace();
|
|
$(".labelDown").labelinplace({
|
|
labelPosition: "down"
|
|
});
|
|
|
|
// Label Icons
|
|
$(".labelIcon").labelinplace({
|
|
labelArrowRight: ' <i class="icon-hand-o-right"></i> ',
|
|
labelArrowDown: ' <i class="icon-hand-o-down"></i> ',
|
|
labelArrowUp: ' <i class="icon-hand-o-up"></i> '
|
|
});
|
|
|
|
// Icons After Label
|
|
$(".labelIconAfter").labelinplace({
|
|
labelArrowRight: ' <i class="icon-caret-right"></i> ',
|
|
labelArrowDown: ' <i class="icon-caret-down"></i> ',
|
|
labelArrowUp: ' <i class="icon-caret-up"></i> ',
|
|
labelIconPosition: "after",
|
|
inputAttr: "id"
|
|
});
|
|
|
|
})(window, document, jQuery); |