add markdown linter (#2048)

This commit is contained in:
Eugenio Romano
2017-07-05 19:35:07 +02:00
parent 48de045ee3
commit cc42169d14
12 changed files with 156 additions and 94 deletions

View File

@@ -4,31 +4,31 @@
<!-- toc -->
* [Prerequisites](#prerequisites)
* [Install](#install)
* [Basic usage](#basic-usage)
+ [DataTable Properties](#datatable-properties)
+ [DataColumn Properties](#datacolumn-properties)
+ [DataTable Events](#datatable-events)
+ [DataTable DOM Events](#datatable-dom-events)
+ [Empty content template](#empty-content-template)
+ [Loading content template](#loading-content-template)
+ [Column Templates](#column-templates)
+ [Events](#events)
- [rowClick event](#rowclick-event)
- [rowDblClick event](#rowdblclick-event)
- [showRowContextMenu event](#showrowcontextmenu-event)
- [showRowActionsMenu event](#showrowactionsmenu-event)
- [executeRowAction event](#executerowaction-event)
* [Data sources](#data-sources)
* [Generate schema](#generate-schema)
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Basic usage](#basic-usage)
* [DataTable Properties](#datatable-properties)
* [DataColumn Properties](#datacolumn-properties)
* [DataTable Events](#datatable-events)
* [DataTable DOM Events](#datatable-dom-events)
* [Empty content template](#empty-content-template)
* [Loading content template](#loading-content-template)
* [Column Templates](#column-templates)
* [Events](#events)
+ [rowClick event](#rowclick-event)
+ [rowDblClick event](#rowdblclick-event)
+ [showRowContextMenu event](#showrowcontextmenu-event)
+ [showRowActionsMenu event](#showrowactionsmenu-event)
+ [executeRowAction event](#executerowaction-event)
- [Data sources](#data-sources)
- [Generate schema](#generate-schema)
- [Pagination Component](#pagination-component)
+ [Properties](#properties)
+ [Events](#events-1)
* [Build from sources](#build-from-sources)
* [NPM scripts](#npm-scripts)
* [Demo](#demo)
* [License](#license)
* [Properties](#properties)
* [Events](#events-1)
- [Build from sources](#build-from-sources)
- [NPM scripts](#npm-scripts)
- [Demo](#demo)
- [License](#license)
<!-- tocstop -->
@@ -58,6 +58,7 @@ npm install ng2-alfresco-datatable
[data]="data">
</adf-datatable>
```
**app.component.ts**
```ts
@@ -571,13 +572,12 @@ let schema = ObjectDataTableAdapter.generateSchema(data);
```
# Pagination Component
## Pagination Component
The pagination object is a generic component to paginate component. The Alfresco API are paginated and returns a Pagination object. You can use the pagination object to feed the pagination component and then listen to the event which return the current pagination and query again the API with the options choose by the user.
![DataTable demo](docs/assets/pagination-demo.png)
### Properties
| Name | Type | Default | Description