Table of Contents
Alert
Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.
Bootstrap docs: https://getbootstrap.com/docs/5.3/components/alerts/

Syntax
$Bootstrap = new renderabootstrap5component();Returns: string
echo $Bootstrap->alert($aOptions)
Parameters: 1
| Parameter #0 [ <required> array $aOptions ] | array of options
Flags
|
Example
PHP snippet
$Bootstrap->alert([
'text' => 'Info: processing request ...',
'bgtype' => 'info',
]);
Generated html output
<div class="alert alert-info" role="alert">
Info: processing request ...
</div>