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

Dynamic trigger an expand of an entry #27

Open
dssoft32 opened this issue Feb 17, 2019 · 3 comments
Open

Dynamic trigger an expand of an entry #27

dssoft32 opened this issue Feb 17, 2019 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@dssoft32
Copy link

How can i expand an entry from controller by its index ?

@glutengo
Copy link
Owner

This can be achieved as shown here:

https://stackblitz.com/edit/angular-mgl-timeline-tkdc1x

It is a bit hacky (esp. the path.localName part) and I could come up with a proper API for this. But you can use it as shown in the stackblitz example today.

@dssoft32
Copy link
Author

thanks for your reply. but is there any way to get element reference without viewChild. as i am creating its web component. it gives error ?

@gustavodemorais
Copy link

Hello @dssoft32, I couldn't understand why you're not able to use viewChild. Could you clarify a bit more or give us some code example?

@glutengo glutengo added the question Further information is requested label Apr 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants