Skip to content

Commit

Permalink
Adding documentation for the new feature
Browse files Browse the repository at this point in the history
  • Loading branch information
iamisti committed Jul 21, 2016
1 parent aeaef81 commit e7c1d38
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/modules/main/directives/mdtTableDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@
* function which returns a promise when it's called. When the function is called, these parameters will be
* passed: `page` and `pageSize` which can help implementing an ajax-based paging.
*
* @param {function(loadPageCallback)=} mdtTriggerRequest provide a callback function for manually triggering an
* ajax request. Can be useful when you want to populate the results in the table manually. (e.g.: having a
* search field in your page which then can trigger a new request in the table to show the results based on
* that filter.
*
* @param {string=} mdtRowPaginatorErrorMessage overrides default error message when promise gets rejected by the
* paginator function.
*
Expand Down

0 comments on commit e7c1d38

Please sign in to comment.