Skip to content

Util.Pad

github-actions[bot] edited this page Sep 30, 2024 · 2 revisions

creates a new paged list
type: AeplSubClass

arguments:

  • per Number: how many entries should be included per page
  • object Array/Object
  • start Number: what page it starts on

let pad = new util.Pad(2, [ "a", "b", "c", "d" ]);

console.log(pad.current); // ["a", "b"]

pad.next();

console.log(pad.current); // ["c", "d"]

Properties

Functions

🛈 current 🛈 next()
🛈 pages 🛈 prev()
🛈 length 🛈 to()
🛈 page 🛈 get()
🛈 contents


🛈 Client

🛈 AddonService

🛈 AttachmentService

🛈 ChannelService

🛈 CommandService

🛈 ComponentService

🛈 ErrorService

🛈 EventService

🛈 ExpressionService

🛈 GuildService

🛈 LogService

🛈 MessageService

🛈 PermissionService

🛈 RoleService

🛈 StorageService

🛈 TypeService

🛈 UserService

🛈 UtilService

🛈 VoiceService


Clone this wiki locally