phpMv  -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Dropdown.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use Ajax\JsUtils;
7 
14 
15  public function __construct(JsUtils $js) {
16  parent::__construct($js);
17  $this->uiName="dropdown";
18  }
19 
20  public function attach($identifier) {
21  parent::attach($identifier);
22  }
23 
29  public function onShow($jsCode) {
30  return $this->addEvent("show.bs.dropdown", $jsCode);
31  }
32 
38  public function onShown($jsCode) {
39  return $this->addEvent("shown.bs.dropdown", $jsCode);
40  }
41 
47  public function onHide($jsCode) {
48  return $this->addEvent("hide.bs.dropdown", $jsCode);
49  }
50 
56  public function onHidden($jsCode) {
57  return $this->addEvent("hidden.bs.dropdown", $jsCode);
58  }
59 }
onHide($jsCode)
This event is fired immediately when the hide method has been called.
Definition: Dropdown.php:47
onShow($jsCode)
This event fires immediately when the show instance method is called.
Definition: Dropdown.php:29
onShown($jsCode)
This event is fired when a dropdown element has been made visible to the user (will wait for CSS tran...
Definition: Dropdown.php:38
Composant Twitter Bootstrap Dropdown.
Definition: Dropdown.php:13
JQuery PHP library.
Definition: JsUtils.php:23
onHidden($jsCode)
This event is fired when a dropdown element has been hidden from the user (will wait for CSS transiti...
Definition: Dropdown.php:56