Closed g-brodiei closed 1 year ago
Oh, wonderful! I'll review this ASAP!
I merged the refactor PR, so please make sure to merge those changes in here.
Refactored the scrape_element.js into index.js and separated into relative files by your clear comments!
Thanks for the refactor! I'll take a look at this soon.
Changes are made, thanks for giving such helpful suggestions.
Made changes so it's testable locally, awaiting for your responses, thanks 👍
closes #1
This PR attempts to provide scrape_element.js to scrape renderable elements under web/core/lib/Drupal/Core/Render/Element and stores as element.json snippet for the ease of form/render element usage.
All elements rendered will automatically append properties from docblock of each file. Additionally, FormElement will have four extra properties by default.
Gif demos are provided in README.md