{{ html.message }} – Alert Message

Renders an alert message above the main content.

Basic usage:

{{ html.message }}

Usage with parameters:

{{ html.message(Text, Type) }}

Parameters:

  1. Text (optional) – Alert message text (HTML tag will be stripped)
  2. Type (optional)
    • Message – (Message . Message on green background.)
    • Notice – (Notice. Message on blue background.)
    • Warning – (Warning. Message on yellow background.)
    • Error – (Error. Message on pink background.)

Example:

{{ html.message("Error","Your passport is expired. Please upload a new one.") }}


What are your feelings

Leave a Reply

Updated on January 9, 2025