24 if($description!==NULL)
30 $descO->setClass(
"description");
31 $descO->setContent($description);
41 $this->tagName=
"option";
52 $img=
new HtmlImg(
"image-".$this->identifier,$image);
53 $img->setClass(
"ui mini avatar image");
63 public function asIcon($caption,$icon){
77 $lbl->setCircular()->setColor($color)->setEmpty();
85 $menu=
new HtmlMenu(
"menu-" . $this->identifier, $items);
99 public static function searchInput($placeholder=NULL,$icon=NULL){
115 public static function header($caption=NULL,$icon=NULL){
133 public static function icon($caption,$icon){
142 public static function avatar($caption,$image){
144 $dd->asMiniAvatar($image);
static icon($caption, $icon)
asCircularLabel($caption, $color)
Adds a circular label to the item.
static searchInput($placeholder=NULL, $icon=NULL)
Semantic Label component.
addContent($content, $before=false)
setProperty($name, $value)
static header($caption=NULL, $icon=NULL)
setDescription($description)
Base class for Semantic double elements.
static circular($caption, $color)
__construct($identifier, $content="", $value=NULL, $image=NULL, $description=NULL)
static avatar($caption, $image)