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

Expose component properties as bindings #13862

Open
melohagan opened this issue Jun 6, 2024 · 1 comment
Open

Expose component properties as bindings #13862

melohagan opened this issue Jun 6, 2024 · 1 comment
Labels
bb-bindings enhancement New feature or request

Comments

@melohagan
Copy link
Collaborator

melohagan commented Jun 6, 2024

Describe the feature request
As a user, I would like to define a variable, or use existing component properties as a binding.

For example, I am duplicating a component in my app, and must update multiple properties each time. Ideally I would only change the name of the component, and the self-referencing binding would do the rest.

Screenshots

Screenshot 2024-06-06 at 10 40 21

Each time I duplicate this component, I have to rename both the component name, and the text. It would be nice if I just had to rename the component name, and then the text binding could be: {{ Component.Name }}

This would also save me from having to make the second manual update within the styles tab:

Screenshot 2024-06-06 at 10 41 49

@melohagan melohagan added the enhancement New feature or request label Jun 6, 2024
Copy link

linear bot commented Jun 6, 2024

@andz-bb andz-bb added the bb-bindings label Jun 11, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bb-bindings enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants