livewire / volt

Volt is an elegantly crafted functional API for Livewire.
https://livewire.laravel.com/docs/volt
MIT License
327 stars 19 forks source link

[1.x] Adds `rendering` callback #52

Closed nunomaduro closed 11 months ago

nunomaduro commented 11 months ago

This pull request adds the rendering callback, to the Livewire Volt's class API, so the user can get access to the view right before gets rendered.

This is to allow the user to call any of the view macros Livewire provides like title, section, etc.

Fixes https://github.com/livewire/volt/issues/46.