PHP Classes

File: resources/views/vendor/livewire-tables/bootstrap-5/includes/filters.blade.php

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin  >  mtube  >  resources/views/vendor/livewire-tables/bootstrap-5/includes/filters.blade.php  >  Download  
File: resources/views/vendor/livewire-tables/bootstrap-5/includes/filters.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: mtube
Application to share videos between users
Author: By
Last change:
Date: 4 months ago
Size: 2,208 bytes


Class file image Download
@if ($showFilterDropdown && ($filtersView || count($customFilters)))
        x-data="{ open: false }"
        x-on:keydown.escape.stop="open = false"
        x-on:mousedown.away="open = false"
        class="btn-group d-block d-md-inline"
            x-on:click="open = !open"
            class="btn dropdown-toggle d-block w-100 d-md-inline"

            @if (count($this->getFiltersWithoutSearch()))
                <span class="badge bg-info">
                   {{ count($this->getFiltersWithoutSearch()) }}

            <span class="caret"></span>
            class="dropdown-menu w-100"
            x-bind:class="{'show' : open}"
                @if ($filtersView)
                @elseif (count($customFilters))
                    @foreach ($customFilters as $key => $filter)
                        <div wire:key="filter-{{ $key }}" class="p-2">
                            <label for="filter-{{ $key }}" class="mb-2">
                                {{ $filter->name() }}

                            @if ($filter->isSelect())

                @if (count($this->getFiltersWithoutSearch()))
                    <div class="dropdown-divider"></div>

                        x-on:click="open = false"
                        class="dropdown-item text-center"

For more information send a message to info at phpclasses dot org.