html-sheet-element

HTML Custom Element for Creating Sheets

APACHE-2.0 License

Downloads
40
Stars
94

Bot releases are hidden (Show)

html-sheet-element - v2.1.0 Latest Release

Published by ivteplo 4 months ago

What's Changed

  • Do not access attributes inside of the constructor. It should not be done according to the standard.

Full Changelog: https://github.com/ivteplo/html-sheet-element/compare/v2.0.0...v2.1.0

html-sheet-element - v2.0.0

Published by ivteplo 6 months ago

Breaking changes

  • The attribute ignore-background-click is now renamed to ignore-backdrop-click to make its meaning more understandable

Enhancements

  • The logic of set open now matches to the logic of the same setter in <dialog>
  • More customization options
  • New option to prevent closure on dragging the sheet down (ignore-dragging-down attribute)
  • Support forms with method="dialog" inside of sheet (like in the <dialog> element)
  • New cancel event that is called when a sheet gets closed without form submition
    • Allows to prevent the form from closing

Bug fixes

  • A duplicate event used to be triggered when calling show, showModal, or close twice

Full Changelog: https://github.com/ivteplo/html-sheet-element/compare/v1.0.0...v2.0.0

html-sheet-element - Initial release 🎉

Published by ivteplo 7 months ago

  • Basic functionality implementation
  • API documentation
Package Rankings
Top 39.54% on Npmjs.org