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

[LiveComponent] Openning component in component ? #1968

Closed
xorgxx opened this issue Jul 7, 2024 · 1 comment
Closed

[LiveComponent] Openning component in component ? #1968

xorgxx opened this issue Jul 7, 2024 · 1 comment
Labels
LiveComponent Status: Waiting Feedback Needs feedback from the author

Comments

@xorgxx
Copy link

xorgxx commented Jul 7, 2024

Hi, I would like to know if it is possible to open a component from another component that displays on the parent component? Essentially, a window that replaces the other one as SAP.

sf-compo

@smnandre
Copy link
Member

smnandre commented Jul 7, 2024

You can emit an event from component 1 that component base listen too.. and then react by rendering component 2 instead of component 1 .

(performances could vary depending on your component base implementation / template)

@smnandre smnandre added the Status: Waiting Feedback Needs feedback from the author label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LiveComponent Status: Waiting Feedback Needs feedback from the author
Projects
None yet
Development

No branches or pull requests

3 participants