Answers for "laravel assign class dynamically if condition true"

PHP
0

laravel assign class dynamically if condition true

<li class="nav-item {{ request()->is('blog') ? 'active' : ''}}">
    <a class="nav-link " href="{{ url('blog') }}">{{ __('sentence.Blog') }}</a>
</li>
Posted by: Guest on December-23-2020

Code answers related to "laravel assign class dynamically if condition true"

Browse Popular Code Answers by Language