Hide

YetaWF.ComponentsHTML Package Documentation

Display
Print

YetaWF.Modules.ComponentsHTML.CoreRendering.RenderModuleActionAsync Method

Renders a module action.

Class: YetaWF.Modules.ComponentsHTML.CoreRendering
Namespace: YetaWF.Modules.ComponentsHTML
Assembly: YetaWF.ComponentsHTML

Syntax

public Task<string> RenderModuleActionAsync(
    YetaWF.Core.Modules.ModuleAction action,
    YetaWF.Core.Modules.ModuleAction.RenderModeEnum mode,
    string? id,
    string? cssClass );

Parameters

action

The module action to render.

mode

The module action's rendering mode.

id

The ID to generate.

cssClass

Option CSS class(es) added to the rendered module action.

Return Value

Returns the module action as HTML.

See Also YetaWF.Modules.ComponentsHTML.CoreRendering ClassYetaWF.ComponentsHTML PackageYetaWF.Core