getPrevId

returns the ID of an item that is before the specified item, either directly before or before a number of items (defined by the step)

id getPrevId(number|string id, [number step] );
id
number|stringthe item ID step
numberthe step (by default, 1)
idthe item ID
See also
  • API
  • Articles
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.