Hi. I need to listen all client-side forum views, like forms, pages, etc.
For main view (forum.blade.php) i use this code:
$events->listen(BuildClientView::class, function (BuildClientView $event){
if ($event->action instanceof ForumClientAction){
//forum.blade.php view
}
});
What i should use for listen other views?
If it possible - all of views?