Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

Accept options.details HTMLElement in commit method

Compare
Choose a tag to compare
@nicoespeon nicoespeon released this 04 Dec 03:00
· 886 commits to master since this release

Thanks to @raul-benito you can now pass an HTMLElement in options.details for commit operations.

This way you can provide a workaround in contexts where document.getElementById is not working (e.g. shadow-dom in web components).

See #211 for details.