Skip to content
This repository has been archived by the owner on Apr 18, 2020. It is now read-only.

Shift Page when Aside is opened as option. #12

Closed
dcbartlett opened this issue Mar 8, 2015 · 4 comments
Closed

Shift Page when Aside is opened as option. #12

dcbartlett opened this issue Mar 8, 2015 · 4 comments

Comments

@dcbartlett
Copy link

"aside-open" should be added to <body> when the aside is opened so that it can be used to shift the content when the aside is opened (force over by the aside). It would be awesome if that was an option on the $aside.open() method call.

@dbtek
Copy link
Owner

dbtek commented Mar 9, 2015

There are template and templateUrl properties if you are talking about setting content of the aside. Sorry, but it's not clear.

@dcbartlett
Copy link
Author

what i am meaning is,

When you open the menu, it should shift the current view over. So if the menu is 300px, the original page from before the aside is opened, should shift over 300 px and then the aside will show, giving the appearance that the aside "PUSH" the page over.

@dcbartlett
Copy link
Author

also i noticed that github processed <body> in my original post, that probably made it a bit more confusing. lol

@dbtek
Copy link
Owner

dbtek commented Mar 22, 2015

You should be doing this viewport positioning in your app by conditionally applying css rules with aside state.

@dbtek dbtek closed this as completed Mar 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants