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

feat(collapse): makes collapse to support two-way binding or hide exposed function(toggle,hide,show) #287

Closed
mkjeff opened this issue Mar 16, 2016 · 3 comments
Milestone

Comments

@mkjeff
Copy link
Contributor

mkjeff commented Mar 16, 2016

  @ViewChild(Collapse)
  private collapse: Collapse;

  toggleMenuItem(menuItem){
      // change by directive, instead model, the state of binding source will become inconsistent 
      this.collapse.hide(); 
  }
@valorkin
Copy link
Member

There are isOpen property

@mkjeff
Copy link
Contributor Author

mkjeff commented Mar 16, 2016

there is no isOpen property in collapse.component.ts. could you point out the specific file?

@valorkin
Copy link
Member

@valorkin valorkin changed the title makes collapse to support two-way binding or hide exposed function(toggle,hide,show) feat(collapse): makes collapse to support two-way binding or hide exposed function(toggle,hide,show) Mar 24, 2016
@valorkin valorkin added this to the beta.12 milestone Mar 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants