public function attach($identifier)
 {
     parent::attach($identifier);
     $this->js->addClass($identifier, "modal", true);
     $this->js->attr($identifier, "role", "dialog", true);
     $this->js->attr($identifier, "aria-labelledby", "myModalLabel", true);
     $this->js->attr($identifier, "aria-hidden", true, true);
 }
 public function attach($identifier)
 {
     parent::attach($identifier);
     $this->js->attr($identifier, "data-toggle", "collapse", true);
 }
 public function __construct(JsUtils $js)
 {
     parent::__construct($js);
     $this->tabs = array();
 }
Exemple #4
0
 public function __construct(JsUtils $js)
 {
     parent::__construct($js);
     $this->uiName = "tab";
 }
 public function attach($identifier)
 {
     parent::attach($identifier);
 }
 public function attach($identifier)
 {
     parent::attach($identifier);
     $this->js->attr($identifier, "data-toggle", $this->uiName, true);
 }