CFAComponentAlerts
in package
CFAComponentAlerts Class component
Table of Contents
Properties
Methods
- add() : mixed
- addBadge() : mixed
- addPhoto() : mixed
- class() : mixed
- color() : mixed
- content() : mixed
- icon() : mixed
- jsIconCall() : mixed
- label() : mixed
- onclick() : mixed
Properties
$data
public
mixed
$data
= []
$index
public
mixed
$index
= 0
$type
public
mixed
$type
= 'alerts'
Methods
add()
public
add([mixed $label = '' ]) : mixed
Parameters
- $label : mixed = ''
addBadge()
public
addBadge(mixed $title[, mixed $color = '' ][, mixed $border = false ][, mixed $pill = false ]) : mixed
Parameters
- $title : mixed
- $color : mixed = ''
- $border : mixed = false
- $pill : mixed = false
addPhoto()
public
addPhoto(mixed $src[, mixed $alt = '' ]) : mixed
Parameters
- $src : mixed
- $alt : mixed = ''
class()
public
class(mixed $data) : mixed
Parameters
- $data : mixed
color()
public
color(mixed $data) : mixed
Parameters
- $data : mixed
content()
public
content(mixed $data) : mixed
Parameters
- $data : mixed
icon()
public
icon(mixed $data) : mixed
Parameters
- $data : mixed
jsIconCall()
public
jsIconCall(mixed $js_function, mixed $icon) : mixed
Parameters
- $js_function : mixed
- $icon : mixed
label()
public
label(mixed $data) : mixed
Parameters
- $data : mixed
onclick()
public
onclick(mixed $data) : mixed
Parameters
- $data : mixed