Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 774 Bytes

render_event.md

File metadata and controls

23 lines (14 loc) · 774 Bytes
title layout
View render event-Bagisto
default

View Render Event

{:.pencil-icon} edit on github{:.edit-github target="_blank"}

View Render Event{: .screenshot-dimension .center}

To render any template before or after any function we may use view_render_event

Steps to render View

  1. Create the page you want to render on view

  2. Use the name of event with function view_render_event

  3. This will automatically fire and the page will be included

As , it is fired before and after the event so, this event helps to inject anything before or after the content.