loading converted to alpine.js

This commit is contained in:
Burak Civan
2022-11-21 15:48:48 +03:00
parent 0128822b4e
commit c973f806f1
7 changed files with 32 additions and 34 deletions

View File

@ -27,7 +27,12 @@
@stack('menu_start')
<div data-real-menu class="w-70 h-screen flex hidden fixed top-0 js-menu z-20 xl:z-10 transition-all ltr:-left-80 rtl:-right-80 xl:ltr:left-0 xl:rtl:right-0">
<div
x-data="{ }"
x-init="setTimeout(() => $refs.realMenu.classList.remove('hidden'), 1000)"
x-ref="realMenu"
class="w-70 h-screen flex hidden fixed top-0 js-menu z-20 xl:z-10 transition-all ltr:-left-80 rtl:-right-80 xl:ltr:left-0 xl:rtl:right-0"
>
<div class="w-14 py-7 px-1 bg-lilac-900 z-10 menu-scroll overflow-y-auto overflow-x-hidden">
<div
data-tooltip-target="tooltip-profile"