浏览代码

Merge branch 'hotfix/update-pipeline'

zhixin 4 年之前
父节点
当前提交
86b6bc82cb
共有 1 个文件被更改,包括 16 次插入10 次删除
  1. 16 10
      site/docs/extensions/pipeline.md

+ 16 - 10
site/docs/extensions/pipeline.md

@@ -1,6 +1,10 @@
-# Bootstrap Table Pipelining
-
-Use Plugin: [bootstrap-table-pipeline]
+---
+layout: docs
+title: Table Pipeline
+description: Table Pipeline extension of Bootstrap Table.
+group: extensions
+toc: true
+---
 
 
 This plugin enables client side data caching for server side requests which will
 This plugin enables client side data caching for server side requests which will
 eliminate the need to issue a new request every page change. This will allow
 eliminate the need to issue a new request every page change. This will allow
@@ -42,22 +46,24 @@ There are two new events:
 - cached-data-hit.bs.table: issued when cached data is used on a page change
 - cached-data-hit.bs.table: issued when cached data is used on a page change
 - cached-data-reset.bs.table: issued when the cached data is invalidated and new server side request is issued
 - cached-data-reset.bs.table: issued when the cached data is invalidated and new server side request is issued
 
 
-## Features
+## Usage
 
 
-* Created with Bootstrap 4
+{% highlight html %}
+<script src="extensions/pipeline/bootstrap-table-pipeline.js"></script>
+{% endhighlight %}
 
 
 ## Usage
 ## Usage
 
 
-```
-<script src="extensions/pipeline/bootstrap-table-pipeline.js"></script>
-```
+## Example
+
+[Pipeline](https://examples.bootstrap-table.com/#extensions/pipeline.html)
 
 
 ## Options
 ## Options
 
 
 ## pipelineSize
 ## pipelineSize
 
 
-* type: Integer
-* description: Size of each cache window. Must be greater than 0
+* type: Number
+* description: Size of each cache window. Must be greater than 0.
 * default: `1000`
 * default: `1000`
 
 
 ### usePipeline
 ### usePipeline