Skip to content

adding explicit examples that show the use of the attributes in EACH example-code #122

Open
@StefanL38

Description

@StefanL38

Hi,
the headline says it all
adding explicit examples that show the use of the attributes in EACH example-code

The example for the PIR-Sensors has empty attributes
{ "type": "wokwi-pir-motion-sensor", "id": "pir1", "top": -42, "left": 25.81, "attrs": {} },

that is a somehow bad example as it dos NOT explain how to use the attributes
you should add an example that shows all attributes
If you show it like in the picture below a user can learn

  • where to find the attributes (diagram-json-tab)
  • and what syntax the content of the attributes section must have to make it work with multiples attributes (comma-separated

grafik

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions