public function __construct($name = null, Mesour\Components\ComponentModel\IContainer $parent = null) { $this->defaults[self::WRAPPER]['attributes']['class'] = false; $this->defaults[self::WRAPPER]['attributes']['role'] = 'menuitem'; $this->defaults[self::WRAPPER]['attributes']['tabindex'] = '-1'; parent::__construct($name, $parent); }
public function __construct($name = null, Mesour\Components\ComponentModel\IContainer $parent = null) { $this->defaults[self::WRAPPER]['el'] = 'button'; $this->defaults[self::WRAPPER]['attributes']['data-dismiss'] = 'modal'; $this->setText('Close'); parent::__construct($name, $parent); }
public function __construct($name = null, Mesour\Components\ComponentModel\IContainer $parent = null) { $this->defaults[self::WRAPPER]['el'] = 'button'; $this->defaults[self::WRAPPER]['attributes']['data-toggle'] = 'dropdown'; parent::__construct($name, $parent); }