Skip to content

0.4.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@bcinarli bcinarli released this 23 Jan 23:38
· 53 commits to master since this release

New

  • Traversing methods introduced
    • closest method for finding the parents
    • next method for getting next sibling
    • prev method for getting previous sibling
    • first method for getting first element in a uxr object
    • last method for getting last element in a uxr object
  • replaceWith method for swapping an element with a new one

Changes

  • Regular expressions in wrap methods removed in favor of using elementFromString util function
  • Now every methods which are mutating the current uxr object, uses a generic mutated util function in order to increase reusability and standardization.