There is a possibility to make changes in the look and feel of a pagination.
Related sample: Pagination. Styling (custom CSS)
For this you need to take the following steps:
<style>
.my_first_class {
/*some styles*/
}
.my_second-class {
/*some styles*/
}
</style>
const pagination = new dhx.Pagination("pagination_container",{
css:"my_first_class my_second_class"
});
For example:
<style>
.custom {
--dhx-background-primary: #3A434A;
--dhx-background-secondary: #5e6d78;
--dhx-color-primary: #118d8d;
--dhx-font-color-primary: #fff;
}
</style>
<script>
const pagination = new dhx.Pagination("pagination_container", {
css: "custom dhx_widget--bordered dhx_widget--no-border_top",
data: list.data
});
</script>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4