{"ScriptPreparationCode":null,"TestCases":[{"Name":"js","Code":"const pagination = new Pagination({\r\n element: \u0027#pagination\u0027,\r\n totalPages: parseInt(25),\r\n visiblePages: 10,\r\n startPage: parseInt(3),\r\n next: true,\r\n prev: true,\r\n last: true,\r\n first: true\r\n });\r\n","IsDeferred":false},{"Name":"jquery","Code":"$(\u0027#pagination\u0027).twbsPagination({\r\n totalPages: parseInt(25),\r\n initiateStartPageClick: false, \r\n visiblePages: 10,\r\n startPage: parseInt(3),\r\n next:\u0022\u003Ci class=\\\u0022fas fa-chevron-right\\\u0022\u003E\u003C/i\u003E\u0022,\r\n prev:\u0022\u003Ci class=\\\u0022fas fa-chevron-left\\\u0022\u003E\u003C/i\u003E\u0022,\r\n lastClass:\u0022d-none\u0022,\r\n firstClass:\u0022d-none\u0022,\r\n onPageClick: function (event, page) {\r\n const url = window.location.href.split(\u0027?\u0027)[0];\r\n const queryString = window.location.search;\r\n var urlParams = new URLSearchParams(queryString);\r\n urlParams.set(\u0027page\u0027, page);\r\n\r\n window.location.href = url\u002B\u0022?\u0022\u002BurlParams;\r\n }\r\n });","IsDeferred":false}]}