19declare(strict_types=1);
59 $root = $root ?? $this;
60 return $this->
default->
render($component, $root);
68 $root = $root ?? $this;
69 return $this->
manipulateRendering($component, $root) ?? $this->
default->render($component, $root);
77 $root = $root ?? $this;
manipulateAsyncRendering($component, Renderer $root)
Manipulates the async Rendering separately if needed.
render($component, ?Renderer $root=null)
Render given component.If an array of components is passed, this method returns a concatenated output...
manipulateRendering($component, Renderer $root)
Manipulates the rendering of one or multiple components by appending, prepending or exchanging their ...
renderAsync($component, ?Renderer $root=null)
Same as render, except that this version also returns any javascript code bound to the on load event,...
__construct(Renderer $default)
renderDefault($component, ?Renderer $root=null)
Renders the component by default.
A component is the most general form of an entity in the UI.
An entity that renders components to a string output.
render($component, ?Renderer $root=null)
Render given component.