const mixinafEfanXtra::EfanXtra

afEfanXtra::EfanXtra

(Service) - Service methods for discovering and rendering efan components.

component

Source

abstract EfanComponent component(Type componentType)

Returns an instance of the component.

componentTypes

Source

abstract Type[] componentTypes(Str libraryName)

Returns the types of all components in the given library.

libraries

Source

abstract Str[] libraries()

Returns the names of all contributed efan component libraries.

render

Source

abstract Obj render(Type componentType, Obj?[]? initParams := null)

Renders the given component.

The component's @InitRender method is called with the given initParams. If the @InitRender method returns a non-null value, then rendering is aborted and the non-null value is returned. Otherwise the rendered Str is returned.