Skip to content

Output value(s) from a Custom Widget #1720

Description

@reubensjohn

I have a custom widget ( it's a counter widget, and holds a count). Now if I need to read the value of the counter the only way now is to store the value in local datastore and read it outside the wideget. Normal cases this should be okay. Now the problem I ma facing is , I need to create 'N' numbers of this counter widget in an itemTemplate based on an array returned by the API. Now storing each of these values in local storage becomes a challenge, inclusing naming each storage location.

Why cant a custom widget has a value it can expose as an output, just like any normal widget like RadioButton . value Text.text etc. It will be great if we have something like MyCustomWidget.value, it will simplify the life an Ensemble developer tremendously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions