Parcourir la source

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

jqh il y a 5 ans
Parent
commit
679cb34958
1 fichiers modifiés avec 10 ajouts et 0 suppressions
  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;
+    }
 }