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);
 }
Exemple #2
0
 /**
  *
  * {@inheritDoc}
  *
  * @see \Ajax\common\html\HtmlSingleElement::setSize()
  */
 public function setSize($size)
 {
     return $this->addToPropertyCtrl("class", $size, Size::getConstants());
 }