Skip to content

Commit 9dfe3d1

Browse files
committed
Update SemanticHtmlModulesTrait.php
1 parent 076bc25 commit 9dfe3d1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Ajax/semantic/traits/SemanticHtmlModulesTrait.php

+10
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
use Ajax\semantic\html\collections\menus\HtmlAccordionMenu;
1919
use Ajax\semantic\html\modules\HtmlSticky;
2020
use Ajax\semantic\html\collections\form\HtmlFormFields;
21+
use Ajax\semantic\html\modules\HtmlSlider;
2122

2223
trait SemanticHtmlModulesTrait {
2324

@@ -173,4 +174,13 @@ public function htmlAccordionMenu($identifier, $items=array()) {
173174
public function htmlSticky($identifier, $content=array()) {
174175
return $this->addHtmlComponent(new HtmlSticky($identifier, $content));
175176
}
177+
178+
/**
179+
* Returns a new Semantic Slider
180+
* @param string $identifier
181+
* @return HtmlSlider
182+
*/
183+
public function htmlSlider($identifier) {
184+
return $this->addHtmlComponent(new HtmlSlider($identifier));
185+
}
176186
}

0 commit comments

Comments
 (0)