doFullRender abstract method
Does a full render to the BeagleView. A full render means that every renderization step will
be executed for the tree
passed as parameter. If the components in tree
have been rendered
at least once, you can help performance by calling doPartialRender
instead.
To see the full documentation of the renderization process, please follow this link: https://github.com/ZupIT/beagle-web-core/blob/main/docs/renderization.md
The parameter tree
is the new tree to render, it can be just a new branch to add to the
current tree or the entire tree. If it's the entire tree, the second and third parameter can
be ommited.
If you wish to update a branch of the tree, you must specify the second parameter anchor
which is the id of the element in the current tree to add the new branch (tree
) to.
The third parameter mode
tells Beagle how to add this tree to anchor
. Prepend adds the new
element to the start of the list of children. Append ads the children at the end. Replace
remove all current children and adds tree
as the only child. ReplaceComponent will replace
the element identified by anchor
entirely by tree
. Default is replaceComponent.
Implementation
void doFullRender(BeagleUIElement tree, [String anchor, TreeUpdateMode mode]);