public function __construct($identifier, $labels = array(), $attributes = array())
 {
     parent::__construct($identifier, "div", "ui labels");
     $this->_states = \array_merge(Size::getConstants(), Color::getConstants(), ["tag", "circular"]);
     $this->addItems($labels);
     $this->setStates($attributes);
 }
示例#2
0
 /**
  *
  * @param string $color
  * @return \Ajax\semantic\html\base\HtmlSemDoubleElement
  */
 public function setColor($color)
 {
     return $this->addToPropertyCtrl("class", $color, Color::getConstants());
 }