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

Programmatically open/close the drawer #69

Closed
mlenormand opened this issue Sep 1, 2016 · 2 comments
Closed

Programmatically open/close the drawer #69

mlenormand opened this issue Sep 1, 2016 · 2 comments

Comments

@mlenormand
Copy link

Programmatically open/close the drawer .

Here is my use case : my search button goes to the /search page where the search form is inside the left drawer. I need a way to open/close the drawer when the /search page is opened.

@rstoenescu
Copy link
Member

Will add a "close()" and "open()" method for convenience. You can use it now by calling "setState(Boolean open/close, function done)".

@mlenormand
Copy link
Author

Currently, there is the the following behaviour on a large screen where the drawer is already showed : a blank area is showed when we set setState(true).

image

It's OK on a small screen where the drawer is hidden at first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants