1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-24 02:38:15 +04:00

autosize plugin

This commit is contained in:
chomik
2019-06-01 17:59:19 +02:00
parent e52bb02617
commit ca330a2c72
7 changed files with 330 additions and 2 deletions

View File

@@ -109,6 +109,25 @@ $(document).ready(function () {
e.preventDefault();
return false;
});
/*
Autosize plugin
*/
if(window.autosize) {
(function() {
var $elem = $('[data-toggle="autosize"]');
console.log('$elem', $elem);
if ($elem) {
$elem.each(function() {
autosize($(this));
});
}
})();
}
});
window.tabler = tabler;