I've added rowsPerPageOptions in the documentlist.js file so that a user can customize how many items will be shown in the list in the Repository Browser. However, the content won't be updated until I press the page buttons. I want the content to be updated when selecting a limit from the rowsPerPageOptions drop down list.
This example uses a data table so it's a little different but when selecting a new page size, the content will be updated.
This line of code causes handlePagination to be called
this.widgets.paginator.subscribe("changeRequest", handlePagination, this);
I can see that the state object supplied to this function has updated rowsPerPage and records.