Skip to content

Commit

Permalink
add mobileDevice() blade directive
Browse files Browse the repository at this point in the history
  • Loading branch information
tanthammar committed Nov 19, 2024
1 parent 823f1a8 commit 03badb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/LaravelWindowSizeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,7 @@ protected function bladeDirectives(): void
Blade::if('windowXl', static fn () => windowXl());

Blade::if('window2xl', static fn () => window2xl());

Blade::if('mobileDevice', static fn () => mobileDevice());
}
}

0 comments on commit 03badb2

Please sign in to comment.