28 $this->content=$value;
29 if (isset($cssStyle)) {
32 if (isset($onClick)) {
43 $this->content=$value;
54 return $this->
addToPropertyCtrl(
"class", CssRef::getStyle($cssStyle,
"btn"), CssRef::Styles(
"btn"));
99 $this->_bsComponent=$js->
bootstrap()->generic(
"#".$this->identifier);
100 if (array_key_exists(
"data-toggle", $this->properties)) {
101 $this->_bsComponent->addCode(
"$.fn.toggled=function(){return this.hasClass('active');};");
114 $array=parent::fromArray($array);
115 foreach ( $array as $key => $value ) {
bootstrap(Bootstrap $bootstrap=NULL)
getter or setter of the Twitter Bootstrap variable
Default HTML values for Twitter Bootstrap HTML components.
onClick($jsCode, $stopPropagation=false, $preventDefault=true)
addEventsOnRun(JsUtils $js=NULL)
addToPropertyUnique($name, $value, $typeCtrl)
addToPropertyCtrl($name, $value, $typeCtrl)
setProperty($name, $value)