bubkoo / html-to-image

✂️ Generates an image from a DOM node using HTML5 canvas and SVG.
MIT License
5.41k stars 505 forks source link

docs: filter method #328

Closed happy-func closed 1 year ago

happy-func commented 1 year ago

subject: doc filter method working error

modified: README.md

Description

node.classList.includes(classname) // Property 'includes' does not exist on type 'DOMTokenList'

&& classList may be null

Motivation and Context

impove lib experience

Types of changes

Self Check before Merge

vivcat[bot] commented 1 year ago

👋 @happy-func

💖 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:

Things that will help get your PR across the finish line:

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.

vivcat[bot] commented 1 year ago

👋 @happy-func Congrats on merging your first pull request! 🎉🎉🎉

vivcat[bot] commented 1 year ago

:tada: This PR is included in version 1.10.10 :tada:

The release is available on:

Your semantic-release bot :package::rocket: