plainJS

Archive

Tag: container

  1. Get parent element node$.parent(), $.parents()
  2. Get the offset position of an element relative to its parent$.position()