We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da3fa43 commit fececbfCopy full SHA for fececbf
Ajax/semantic/components/Toast.php
@@ -53,6 +53,10 @@ public function showProgress($value='top'){
53
$this->params['showProgress']=$value;
54
}
55
56
+ public function setOnShow($jsCode) {
57
+ $this->addComponentEvent('onShow', $jsCode);
58
+ }
59
+
60
public function setOnHide($jsCode) {
61
$this->addComponentEvent('onHide', $jsCode);
62
Ajax/semantic/html/base/HtmlSemDoubleElement.php
@@ -198,6 +198,7 @@ public function asToast($params=NULL){
198
if(isset($params)){
199
$this->_toast->setParams($params);
200
201
+ $this->_toast->setOnShow('$("#'.$this->_identifier.'").show();');
202
return $this->_toast;
203
204
0 commit comments