Closed jpkarvonen closed 1 year ago
I am trying to update mixer pagination limit on window resize with mixer.configure() like this:
window.onresize = (event) => { if (tabletBreakpoint.matches === true) { if(selectMixer.getState().activePagination.limit != 8) { selectMixer.configure({ pagination: { limit: 8 } }); } } }
I've logged it and the code block runs but the pagination limit is not updated. I am also not getting any errors. Am I missing something, or is it not currently possible to update the pagination limit with configure()?
configure()
Thanks for the great tool!
Sorry -- jumped the gun on this. Totally missed the pagination extension API docs. No issue now.
I am trying to update mixer pagination limit on window resize with mixer.configure() like this:
I've logged it and the code block runs but the pagination limit is not updated. I am also not getting any errors. Am I missing something, or is it not currently possible to update the pagination limit with
configure()
?Thanks for the great tool!