HasBeforeRun
API reference › HTML Core › Event › HasBeforeRun
Used by 1 type
Provides a pre-render lifecycle hook.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
beforeRun() protected | Validates state before rendering. | HasBeforeRun |
Method details
Section titled “Method details”beforeRun()
Section titled “beforeRun() ”protected function beforeRun(): boolValidates state before rendering.
Returns
bool: Returns true to continue rendering, or false to skip rendering.