open-wc / api-viewer-element

API documentation and live playground for Web Components. Based on Custom Elements Manifest format
https://api-viewer.open-wc.org
MIT License
268 stars 25 forks source link

feat: support `reflects` flag #193

Closed bendera closed 10 months ago

bendera commented 10 months ago

Shows whether a property is reflected. It's based on the changes in https://github.com/open-wc/api-viewer-element/pull/190 The important parts are in this commit: https://github.com/open-wc/api-viewer-element/commit/174b47a6f2715137aceb5d08cc0a25ca2a8d2e3d

I used the CustomElementField instead of the ManifestClassField because in the latter the reflects flag is not included. I'm not sure this is the right type but in fact, where I use this type the reflects flag is available. The result looks like this:

image

netlify[bot] commented 10 months ago

Deploy Preview for api-viewer ready!

Name Link
Latest commit 0064572e21b0b6d4673aa0e4fe28bb4e2e1da88c
Latest deploy log https://app.netlify.com/sites/api-viewer/deploys/6544fd16d5d18e000739935e
Deploy Preview https://deploy-preview-193--api-viewer.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

bendera commented 10 months ago

Rebased. Only the relevant changes are visible.