Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Accordian - how to add a click event?‏ #179

@whitneyland

Description

@whitneyland

Is it possible handle a click with an accordion-group like this:
accordion-group ng-click="foo()"

It looks like it is not working because the directive eats the click for expanding/collapsing.

In looking at the directive code and template, it was not clear to me how to "bubble" this event so it could still be used by the parent.

Actually any way to get notification of when a group expands would probably work also like
accordion-group opened="foo()"

I'm just now learning directives so maybe I'm missing something easy?

sorry to post here, posting to angular-ui google group seems to not be allowed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions