loading hide control
This commit is contained in:
		
							
								
								
									
										21
									
								
								app/View/Components/Show/Right.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								app/View/Components/Show/Right.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | |||||||
|  | <?php | ||||||
|  |  | ||||||
|  | namespace App\View\Components\Show; | ||||||
|  |  | ||||||
|  | use App\Abstracts\View\Component; | ||||||
|  |  | ||||||
|  | class Right extends Component | ||||||
|  | { | ||||||
|  |      | ||||||
|  |     public $disableLoading = false; | ||||||
|  |  | ||||||
|  |     /** | ||||||
|  |      * Get the view / contents that represent the component. | ||||||
|  |      * | ||||||
|  |      * @return \Illuminate\Contracts\View\View|string | ||||||
|  |      */ | ||||||
|  |     public function render() | ||||||
|  |     { | ||||||
|  |         return view('components.show.content.right'); | ||||||
|  |     } | ||||||
|  | } | ||||||
| @@ -1,5 +1,6 @@ | |||||||
| <div class="relative lg:w-8/12 ltr:lg:pl-8 rtl:lg:pr-8"> | <div class="relative lg:w-8/12 ltr:lg:pl-8 rtl:lg:pr-8"> | ||||||
|     <x-loading.absolute /> |     @if (! isset($attributes['disable-loading'])) | ||||||
|  |         <x-loading.absolute /> | ||||||
|  |     @endif | ||||||
|     {!! $slot !!} |     {!! $slot !!} | ||||||
| </div> | </div> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user