소스 검색

Merge branch 'master' of https://github.com/jqhph/dcat-admin

jqh 5 년 전
부모
커밋
679cb34958
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      src/Widgets/Table.php

+ 10 - 0
src/Widgets/Table.php

@@ -151,4 +151,14 @@ class Table extends Widget
 
         return view($this->view, $vars)->render();
     }
+
+    /**
+     * @return $this
+     */
+    public function withBorder()
+    {
+        $this->class('table-bordered', true);
+
+        return $this;
+    }
 }