Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 849 Bytes

CHANGELOG.md

File metadata and controls

37 lines (21 loc) · 849 Bytes

Changelog

1.0.1

  • Add standard
  • Update dependencies

1.0.0

  • Return a “clean up” function for removing the event listener on the input element
  • Refactor implementation and tests
  • Update all dependencies

0.4.0

  • Stop setting box-sizing: content-box on the input element
  • Copy other width-affecting styles (eg. letter-spacing) to the “ghost” element

0.3.1

  • Assign an id to the “ghost” element, and use document.getElementById to detect if the element still exists in the DOM

0.3.0

  • Account for case where the “ghost” element may have been removed from the DOM

0.2.0

  • Share a single “ghost” element, as opposed to creating a new “ghost” element for every text box

0.1.1

  • Return the set function

0.1.0

  • Initial release