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

Add a visible Property to Components for Binding #15226

Open
Stropdasman opened this issue Dec 20, 2024 · 1 comment
Open

Add a visible Property to Components for Binding #15226

Stropdasman opened this issue Dec 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Stropdasman
Copy link

Description

Add a visible property in component bindings to allow components to inherit the visibility state of another component.

Proposed Solution

Enable components to reference the visible property of other components instead of duplicating complex visibility conditions.

Example:

Instead of:

ComponentA: { visibility: condition1 && condition2 }
ComponentB: { visibility: condition1 && condition2 }

We'd have:

ComponentA: { visibility: condition1 && condition2 }
ComponentB: { visibility: ComponentA.visible }
@Stropdasman Stropdasman added the enhancement New feature or request label Dec 20, 2024
Copy link

linear bot commented Dec 20, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant