Skip to content

Ordinal Indicators Enhancement

Latest
Compare
Choose a tag to compare
@joeleisner joeleisner released this 01 Jun 15:50

This update enhances the structure, performance, and extensiveness of the ordinalIndicators module; Here's how:

  • Both the pageInfo and groupInfo methods have been merged into one self-executing function: info
    • Now you can grab all page/group information via ordinalIndicators.info
  • More information about groups is available
    • ordinalIndicators.groupAmount - The total amount of groups on the page
    • ordinalIndicators.groupCount - The total amount of content within the current group
    • ordinalIndicators.groupID - The ID of the current group (zero-based)
    • ordinalIndicators.groupIndex - The index of the current piece of content within the group (zero-based)