13 public function __construct(
$identifier, $visibleContent,$hiddenContent,$type=RevealType::FADE,$attributeType=NULL) {
14 parent::__construct(
$identifier,
"div",
"ui reveal");
17 $this->
setType($type,$attributeType);
29 $content->addToProperty(
"class",(($index===0)?
"visible":
"hidden").
" content");
43 return $this->content[0];
47 return $this->content[1];
50 public function setType($type,$attribute=NULL){
52 if(isset($attribute)){
59 return $this->
setType(RevealType::FADE,$attribute);
63 return $this->
setType(RevealType::MOVE,$attribute);
67 return $this->
setType(RevealType::ROTATE,$attribute);
Base class for Semantic double elements.
addToProperty($name, $value, $separator=" ")
addToPropertyCtrl($name, $value, $typeCtrl)
Semantic Label component.
setHiddenContent($hiddenContent)
__construct($identifier, $visibleContent, $hiddenContent, $type=RevealType::FADE, $attributeType=NULL)
setType($type, $attribute=NULL)
setElement($index, $content)
setVisibleContent($visibleContent)
setRotate($attribute=NULL)