Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output value(s) from a Custom Widget #1720

Open
reubensjohn opened this issue Nov 9, 2024 · 0 comments
Open

Output value(s) from a Custom Widget #1720

reubensjohn opened this issue Nov 9, 2024 · 0 comments
Assignees

Comments

@reubensjohn
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants