ng-html-util
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

ng-html-util

This package contains a few helper functions to manipulate the DOM.

Functions

convertNumberToPx Append the px suffix to the input value

convertPxToNumber Remove the px suffix from the input value

extractElementPosition Calculate the HTML element top left position

Remarks

The version number upgraded to 3.x because the build process changed.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.0
    38
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.0.0
    38
  • 2.0.2
    34
  • 2.0.1
    1
  • 1.0.0
    3

Package Sidebar

Install

npm i ng-html-util

Weekly Downloads

76

Version

3.0.0

License

MIT

Unpacked Size

22.2 kB

Total Files

19

Last publish

Collaborators

  • ert78gb