@aware(['isTailwind', 'isBootstrap', 'tableName', 'component']) @props(['colCount' => 1]) @php $customAttributes['loader-wrapper'] = $component->getLoadingPlaceHolderWrapperAttributes(); $customAttributes['loader-icon'] = $component->getLoadingPlaceHolderIconAttributes(); @endphp @if($this->hasLoadingPlaceholderBlade()) @include($this->getLoadingPlaceHolderBlade(), ['colCount' => $colCount]) @else merge($customAttributes['loader-wrapper']) ->class(['w-full text-center h-screen place-items-center align-middle' => $isTailwind && ($customAttributes['loader-wrapper']['default'] ?? true)]) ->class(['w-100 text-center h-100 align-items-center' => $isBootstrap && ($customAttributes['loader-wrapper']['default'] ?? true)]); }} wire:loading.class.remove="hidden d-none" >
merge($customAttributes['loader-icon']) ->class(['lds-hourglass' => $isTailwind && ($customAttributes['loader-icon']['default'] ?? true)]) ->class(['lds-hourglass' => $isBootstrap && ($customAttributes['loader-icon']['default'] ?? true)]) ->except('default'); }} >
{{ $component->getLoadingPlaceholderContent() }}
@endif