Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

set nav link active on the basis of route laravel

<li class="{{ (request()->is('admin/cities*')) ? 'active' : '' }}">  
Source by quickadminpanel.com #
 
PREVIOUS NEXT
Tagged: #set #nav #link #active #basis #route #laravel
ADD COMMENT
Topic
Name
2+6 =