Example #1
0
 public function testStriped()
 {
     $tag = new ProgressBar('10');
     $tag->striped();
     $this->assertEquals('<div class="progress progress-striped">' . '<div class="progress-bar" role="progress" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100" style="width="10%"">' . '<span class="sr-only">' . '10%' . '</span>' . '</div>' . '</div>', $tag->getHTML());
 }
Example #2
0
 /**
  * @return $this
  */
 public function stripped()
 {
     $this->uiElement->striped();
     return $this;
 }