Home / v1.14.0
Name Modified Size InfoDownloads / Week
Parent folder
Accept options.details HTMLElement in commit method.tar.gz 2018-12-04 641.7 kB
Accept options.details HTMLElement in commit method.zip 2018-12-04 650.5 kB
README.md 2018-12-04 305 Bytes
Totals: 3 Items   1.3 MB 0

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 https://github.com/nicoespeon/gitgraph.js/pull/211 for details.

Source: README.md, updated 2018-12-04