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

add openDrawer and openDrawerOnSmallScreens method on mdl-layout #990

Merged
merged 2 commits into from
Jun 6, 2017

Conversation

hanzubon
Copy link
Contributor

@hanzubon hanzubon commented Jun 5, 2017

mdl-layout.component only have closeDrawer(), toggleDrawer() and closeDrawerOnSmallScreens().
Drawer open related methods are missing.

Of cause we would operate drawer to open with public isDrawerVisible and toggeDrawer() etc.
But I think better adding openDrawer() and openDrawerOnSmallScreens() to mdl-layout.coponent.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 99.212% when pulling f17674e on hanzubon:add_openDrawer into ed17152 on mseemann:master.

@mseemann
Copy link
Owner

mseemann commented Jun 5, 2017

hi, thx for your contribution. please add some tests to your pr. thx.

 * openDrawer()
 * closeDrawer()
 * openDrawerOnSmallScreens()
 * toggleDrawer() from opened state
 * toggleDrawer() from closed state
@coveralls
Copy link

Coverage Status

Coverage increased (+0.002%) to 99.475% when pulling 5810024 on hanzubon:add_openDrawer into ed17152 on mseemann:master.

@hanzubon
Copy link
Contributor Author

hanzubon commented Jun 6, 2017

Added tests for openDrawer() and openDrawerOnSmallScreens()
And also added missing tests for closeDrawer(), toggleDrawer() from opened state and closed state.

@mseemann
Copy link
Owner

mseemann commented Jun 6, 2017

hi thx a lot. will be released as @angular-mdl/core@4.0.7 in a few minutes...

@mseemann mseemann merged commit 87ea3d8 into mseemann:master Jun 6, 2017
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

Successfully merging this pull request may close these issues.

3 participants