first initial

This commit is contained in:
2025-05-27 19:09:17 +07:00
commit 80375d8af3
1587 changed files with 572586 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
"use strict";
// Class definition
var KTUserProfile = function () {
// Base elements
var avatar;
var offcanvas;
// Private functions
var initAside = function () {
// Mobile offcanvas for mobile mode
offcanvas = new KTOffcanvas('kt_user_profile_aside', {
overlay: true,
baseClass: 'kt-app__aside',
closeBy: 'kt_user_profile_aside_close',
toggleBy: 'kt_subheader_mobile_toggle'
});
}
var initUserForm = function() {
avatar = new KTAvatar('kt_user_avatar');
}
return {
// public functions
init: function() {
initAside();
initUserForm();
}
};
}();
KTUtil.ready(function() {
KTUserProfile.init();
});