/**
  * define the progressbar style
  * avaible values : "success","info","warning","danger"
  * @param string|int $cssStyle
  * @return \Ajax\bootstrap\html\HtmlProgressbar default : ""
  */
 public function setStyle($cssStyle)
 {
     return $this->setMemberCtrl($this->style, CssRef::getStyle($cssStyle, "progress-bar"), CssRef::Styles("progress-bar"));
 }
Exemple #2
0
 /**
  * define the alert style
  * avaible values : "alert-success","alert-info","alert-warning","alert-danger"
  * @param string|int $cssStyle
  * @return \Ajax\bootstrap\html\HtmlAlert default : "alert-success"
  */
 public function setStyle($cssStyle)
 {
     return $this->addToPropertyCtrl("class", CssRef::getStyle($cssStyle, "alert"), CssRef::Styles("alert"));
 }