dom-position-calculator

1.2.7 • Public • Published

LIBRARY IS UNDER DEVELOPMENT [USE WITH CARE]

Objectives

  1. function - to get top left position for given 2 el where mapping the diffrence between there posistions

  2. function - to get scroll into view thing for element with all top bottom side

  3. function - to get element top left positions with option to include box modle properties

Consideration points

  1. Do not use optional chining as it is not supported in packages as there we use js older than ES6

Tests

  1. Create test using react testing library and selilium and must use to have better understanding
  2. Try to use typescript for library development as better support to transfer into older version of code.

Todo

  1. Creating Example section for future refrence
  2. Webpack configuration for multiple example and getting html and js configured for multiple examples
  3. Creating test using react-testing-library
  4. Completing Objective function tasks
  5. Create basic web application to show off your work and open comment section for multiple addons and suggestions for future work

Package Sidebar

Install

npm i dom-position-calculator

Weekly Downloads

1

Version

1.2.7

License

ISC

Unpacked Size

753 kB

Total Files

18

Last publish

Collaborators

  • viisheshjain05