facet classafEfanXtra::BeforeRender
sys::Obj afEfanXtra::BeforeRender : sys::Facet
Use to mark a component lifecycle method. Before render methods may optionally define a StrBuf
parameter. You can use this to change any part of the current rendering.
@BeforeRender Bool? beforeRender(StrBuf output) { ... }
If the method returns false
then rendering is skipped and @AfterRender
is called.
- defVal
const static BeforeRender defVal := ...
Singleton for BeforeRender facet.