浏览代码

Added icons link

zhixin 6 年之前
父节点
当前提交
8512311964
共有 2 个文件被更改,包括 6 次插入4 次删除
  1. 4 2
      site/docs/api/table-options.md
  2. 2 2
      src/bootstrap-table.js

+ 4 - 2
site/docs/api/table-options.md

@@ -1232,12 +1232,14 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
     toggleOff: 'fa-toggle-off',
     toggleOn: 'fa-toggle-on',
     columns: 'fa-th-list',
+    fullscreen: 'fa-arrows-alt',
     detailOpen: 'fa-plus',
-    detailClose: 'fa-minus',
-    fullscreen: 'fa-arrows-alt'
+    detailClose: 'fa-minus'
   }
   {% endhighlight %}
 
+- **Example:** [Table Icons](https://examples.bootstrap-table.com/#options/table-icons.html)
+
 ## iconSize
 
 - **Attribute:** `data-icon-size`

+ 2 - 2
src/bootstrap-table.js

@@ -70,9 +70,9 @@
         toggleOff: 'fa-toggle-off',
         toggleOn: 'fa-toggle-on',
         columns: 'fa-th-list',
+        fullscreen: 'fa-arrows-alt',
         detailOpen: 'fa-plus',
-        detailClose: 'fa-minus',
-        fullscreen: 'fa-arrows-alt'
+        detailClose: 'fa-minus'
       },
       classes: {
         buttonsPrefix: 'btn',