const mixinafEfanXtra::EfanXtra
afEfanXtra::EfanXtra
(Service) - Service methods for discovering and rendering efan components.
- component
abstract EfanComponent component(Type componentType)
Returns an instance of the component.
- componentTypes
abstract Type[] componentTypes(Str libraryName)
Returns the types of all components in the given library.
- libraries
abstract Str[] libraries()
Returns the names of all contributed efan component libraries.
- render
abstract Str render(Type componentType, Obj?[]? initParams := null)
Renders the given component.
The component's
@InitRender
method is called with the giveninitParams
. An empty Str is returned if rendering is aborted by@InitRender
or@BeforeRender
.