Open SUCHMOKUO opened 1 year ago
👋 @SUCHMOKUO
💖 Thanks for opening this pull request! 💖
Please follow the contributing guidelines. And we use semantic commit messages to streamline the release process.
Examples of commit messages with semantic prefixes:
fix: don't overwrite prevent_default if default wasn't prevented
feat: add graph.scale() method
docs: graph.getShortestPath is now available
Things that will help get your PR across the finish line:
npm run lint
locally to catch formatting errors earlier.We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can.
Base: 62.93% // Head: 62.93% // No change to project coverage :thumbsup:
Coverage data is based on head (
f6363fc
) compared to base (b751cbf
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Hi! Thanks for maintaining this great library!
I've tried it and just found that it might be great if we can control what pseudo elements will be included in the captured image rather than just
::before
and::after
, sometimes we might want to include some non-standard but useful ones, like::-webkit-scrollbar
and::-webkit-scrollbar-thumb
, so I created this PR to add a new optionincludedPseudoElements
to allow user to customize the rule of the included pseudo elements.Hope this can be helpful :)
Description
includedPseudoElements
.clonePseudoElements
to receive the includedPseudoElements list and clone all the pseudo elements in the list.Types of changes
Self Check before Merge