Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "components/alert.d"

Index

Interfaces

Type aliases

Variables

Type aliases

IAlertTypes

IAlertTypes: { Danger: number; Dark: number; Info: number; Light: number; Primary: number; Secondary: number; Success: number; Warning: number }

Alert Types

Type declaration

  • Danger: number
  • Dark: number
  • Info: number
  • Light: number
  • Primary: number
  • Secondary: number
  • Success: number
  • Warning: number

Variables

Const Alert

Alert: (props: IAlertProps) => IAlert
import { Components } from "gd-sprest-bs";

// Create the alert
let el = document.querySelector("#alert");
let alert = Components.Alert({
    el: el,
    content: "This is an alert."
});

Type declaration

Const AlertTypes

AlertTypes: IAlertTypes

Alert Types

Generated using TypeDoc