16 parent::__construct(
$identifier,
"div",
"ui dimmer");
18 $this->_inverted =
false;
26 public function asIcon($icon, $title, $subHeader = NULL) {
27 $header =
new HtmlHeader(
"header-" . $this->identifier);
28 $header->asIcon($icon, $title, $subHeader);
29 if ($this->_inverted ===
false)
30 $header->setInverted();
39 parent::setInverted($recursive);
40 $this->_inverted =
true;
46 $this->_bsComponent = $js->
semantic()->dimmer(
"#" . $this->_container->getIdentifier(), $this->_params);
48 $this->_bsComponent = $js->
semantic()->dimmer(
"#" . $this->identifier, $this->_params);
50 return parent::run($js);
54 if (isset($this->_container))
55 return '$("#.' . $this->_container->getIdentifier() .
').dimmer("show");';
73 $this->_params[
'closable'] = $closable;
semantic(Semantic $semantic=NULL)
getter or setter of the Semantic-UI variable
Base class for Semantic double elements.
addToProperty($name, $value, $separator=" ")
run(JsUtils $js)
{{SimpleExtComponent\Ajax\common\html\BaseHtmlrun()\Ajax\common\html\BaseHtmlrun()}HtmlDoubleElement:...
__construct($identifier, $content=NULL)
setContainer($_container)
setInverted($recursive=true)
can be formatted to appear on dark backgrounds
asIcon($icon, $title, $subHeader=NULL)