Pagination Example
How do I make an pagination example?
What is a pagination example? How do you make a pagination example? This script and codes were developed by Sean McCambridge on 08 September 2022, Thursday.
Pagination Example - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pagination Example</title> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700'>
<link rel='stylesheet prefetch' href='https://boomtownroi.github.io/boomstrap/css/boomstrap.css'>
<link rel='stylesheet prefetch' href='https://boomtownroi.github.io/boomstrap/css/boomstrap-docs.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div ng-app="PatternLibrary"> <div ng-controller="PaginationDemoCtrl"> <h4>Default</h4> <pagination total-items="totalItems" page="currentPage"></pagination> <pagination boundary-links="true" total-items="totalItems" page="currentPage" class="pagination-sm" previous-text="‹" next-text="›" first-text="«" last-text="»"></pagination> <pagination direction-links="false" boundary-links="true" total-items="totalItems" page="currentPage"></pagination> <pagination direction-links="false" total-items="totalItems" page="currentPage" num-pages="smallnumPages"></pagination> <pre>The selected page no: {{currentPage}}</pre> <button class="btn btn-info" ng-click="setPage(3)">Set current page to: 3</button> <hr /> <h4>Pager</h4> <pager total-items="totalItems" page="currentPage"></pager> <hr /> <h4>Limit the maximum visible buttons</h4> <pagination total-items="bigTotalItems" page="bigCurrentPage" max-size="maxSize" class="pagination-sm" boundary-links="true"></pagination> <pagination total-items="bigTotalItems" page="bigCurrentPage" max-size="maxSize" class="pagination-sm" boundary-links="true" rotate="false" num-pages="numPages"></pagination> <pre>Page: {{bigCurrentPage}} / {{numPages}}</pre> </div>
</div> <script src='https://boomtownroi.github.io/boomstrap/js/boomstrap.min.js'></script>
<script src='https://boomtownroi.github.io/boomstrap/js/boomstrap-angular.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Pagination Example - Script Codes CSS Codes
/* this CSS is only for proper display of the codepen. do not add this to the CRM */
body { padding: 36px 24px;
}
Pagination Example - Script Codes JS Codes
angular.module('PatternLibrary', [ 'ui.bootstrap']);
(function(PatternLibrary) { 'use strict'; PatternLibrary.controller('PaginationDemoCtrl', ['$scope', function($scope) { $scope.totalItems = 64; $scope.currentPage = 4; $scope.maxSize = 5; $scope.setPage = function (pageNo) { $scope.currentPage = pageNo; }; $scope.bigTotalItems = 175; $scope.bigCurrentPage = 1; }]);
})(angular.module('PatternLibrary'));
Developer | Sean McCambridge |
Username | seanboom |
Uploaded | September 08, 2022 |
Rating | 3 |
Size | 2,282 Kb |
Views | 34,408 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Alert Example | 2,212 Kb |
Carousel Card Example | 2,409 Kb |
Relative Time Example | 2,246 Kb |
Popover Example | 2,429 Kb |
Tour Example | 2,516 Kb |
Lead Category Default Example | 2,075 Kb |
Small Card Example | 2,464 Kb |
Collapse Example | 1,974 Kb |
Modal Example | 2,438 Kb |
Progressbar Example | 2,605 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Default Input, Textareas, Submits, and Buttons in iOS | Demersdesigns | 2,334 Kb |
Project -Show the Local Weather | Luciano_Britis | 2,583 Kb |
Toggle Time | Petebot | 5,345 Kb |
Front in Aracaju Logo Pure CSS | Shankarcabus | 2,581 Kb |
Rows with image hover effect | Amit-webdesigner | 12,875 Kb |
Vue.js | Thommyboy02 | 1,506 Kb |
Birthday Party Starter | Aussieyang | 1,629 Kb |
Minimal Menu | Achudars | 3,430 Kb |
Two Element Typeface | Chrisota | 4,942 Kb |
Compare resources on mobile sites | Gyusza | 3,226 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!