Skip to content

Dynamic trigger an expand of an entry #27

Open

Description

@dssoft32

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

Activity

  1. glutengo commented on Feb 18, 2019

    @glutengo
    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.

  2. dssoft32 commented on Feb 19, 2019

    @dssoft32
    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 ?

  3. gustavodemorais commented on Feb 20, 2019

    @gustavodemorais

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions