Skip to content

Parameters of type "elementID" in MYR are shown as strings #623

@r-maradiaga

Description

@r-maradiaga

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.

image

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions