public function setAlignment($alignment)
 {
     if (is_int($alignment)) {
         $alignment = "dropdown-menu-" . CssRef::alignment()[$alignment];
     }
     return $this->addToMemberCtrl($this->class, $alignment, CssRef::alignment());
 }
 public function setAlignment($value)
 {
     if (is_int($value)) {
         $value = CssRef::alignment("btn-group")[$value];
     } else {
         $value = "btn-group-" . $value;
     }
     if (strstr($value, "justified")) {
         foreach ($this->elements as $element) {
             $element->wrap('<div class="btn-group" role="group">', '</div>');
         }
     }
     $this->addToPropertyCtrl("class", $value, CssRef::alignment("btn-group-"));
 }