Admiro Dashboard Theme For Appgini
  • Introduction
  • Installation Guide
  • General Settings
  • Table Menu Settings
  • Dashboard Builder
  • Custom Page Builder
  • Reports Builder
  • Translation Tool For Admiro
  • File Manager
  • Widget Functions
    • Data Card
  • Sweet Alert
  • Alert
  • Welcome Banner
  • Statistics Counter Card
  • Basic Table
  • Data Table
  • Modal
  • Full Calendar
  • Drop Zone
  • Line Chart
  • Area Chart
  • Bar Chart
  • Column Chart
  • Pie Chart
  • Donut Chart
  • Timeline Chart
  • Options
Powered by GitBook
On this page
  • Structure
  • Parameters
  • Example Usage
  • Output

Alert

PreviousSweet AlertNextWelcome Banner

Last updated 7 months ago

The alert function enables you to display an alert on the page, this you can use it to display critical information on the page or use it for page events as well

Structure

alert($message, $type = 'warning')

Parameters

The alert function accepts 2 parameters explained below:

  • Message - the message to be displayed on the alert

  • Type- The type of alert to display. Accepts bootstrap 5 color classes eg: warning, info, success, danger, dark, secondary, light

Example Usage

echo alert('No custom login methods found','info');

Output

Sample output for the alert.