MpaComponent

MpaComponent class definition.

Constructor

new MpaComponent()

Constructor

Members

afterBuildTag

Hook executed after building a tag.

beforeBuildTag

Hook executed before building a tag.

(async) buildChildTag

Builds a child tag based on a detector attribute.

buildOptions

Builds the <option> elements for a <select> tag.

(async) buildSentence

Builds a sentence with optional rendering and minification.

(async) buildTag

Builds a tag with the given parameters and options.

buildUrl

Builds a URL with the given parameters.

getMethod

Determines the method to use based on the provided parameters.

(async) getWidget

Retrieves a widget builder class or instance for a specific method.

(async) iconAttr

Processes icon-related attributes and appends them to the HTML.

(async) loadBaseWidgets

Loads base factories dynamically from the file system.

normalizeAttr

Normalizes the attributes of the given parameters.

(async) render

Renders the final HTML for the given parameters.