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

feature (default open) #14

Open
0101adm opened this issue Sep 6, 2015 · 2 comments
Open

feature (default open) #14

0101adm opened this issue Sep 6, 2015 · 2 comments

Comments

@0101adm
Copy link

0101adm commented Sep 6, 2015

thanks for the lib.

would like to see an option to have the element opened by default with no slide down animation.

@TheRusskiy
Copy link
Owner

Hello, thank you for the kind comment.
What I don't get is what prevents you from setting variable responsible for the element being opened to a true value when you init it?
<div ng-slide-down="obj.somethingTruthy" lazy-render>

@0101adm
Copy link
Author

0101adm commented Sep 9, 2015

obj.somethingTruthy is true and the div expands (and animates) making the screen chop a bit. if it can start open (without the animation) it would prevent the chopping.

kamilkp added a commit to kamilkp/ng-slide-down that referenced this issue Nov 18, 2015
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