engaging-computing / engaging-computing/MYR
Parameters of type "elementID" in MYR are shown as strings
- Dominant language
- JavaScript
- Stars
- 24
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
## Description
In the references page, when hovering over functions that take an elementID as a parameter, it is shown that the type is a string. However, for some of these elementIDs, you either use groups or a function of the element itself, such as `box()`. This makes it unclear to the user because an elementID is not encapsulated by quotation marks and is usually an object you can see on the screen.

## Potential Solution
Instead of having the attribute shown as a string, we can create a new attribute called `elementID` that shows a clear difference between a string and elements.
## Additional Context
Most changes for this would be done in `/src/myr/reference.js` but one change for adding the elementID to the key in references would be done in `/src/components/Reference.js`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.