Skip to content

Commit 187fb81

Browse files
committed
Update Toast.php
1 parent 8a5275f commit 187fb81

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Ajax/semantic/components/Toast.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Ajax\semantic\components$Toast
99
* This class is part of phpMv-ui
1010
* @author jcheron <[email protected]>
11-
* @version 1.0.0
11+
* @version 1.0.1
1212
* @since 2.3.0
1313
* @see https://fomantic-ui.com/modules/toast.html
1414
*/
@@ -37,6 +37,11 @@ public function setShowIcon($value=false){
3737
$this->params['showIcon']=$value;
3838
return $this;
3939
}
40+
41+
public function setPreserveHTML($value=false){
42+
$this->params['preserveHTML']=$value;
43+
return $this;
44+
}
4045

4146
public function setCloseOnClick($value){
4247
$this->params['closeOnClick']=$value;

0 commit comments

Comments
 (0)