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

separate views for mobile and tablet #24

Open
danielbwa opened this issue May 10, 2012 · 0 comments
Open

separate views for mobile and tablet #24

danielbwa opened this issue May 10, 2012 · 0 comments

Comments

@danielbwa
Copy link

Hey Andrew,

Not really an issue but i'm using split view right now and that looks great on a tablet but for mobile it isn't optimal... especially when you put your mobile in landscape and the nav view shows op. So i'm thinking about handling actions different bases on device, for example instead of pushing html to pushSidebarView() using pushBodyView for nav pages.. So i have to make the action bases on the device.

I notice this.winPhone in SplitViewNavigator.js and i thought maybe its an idea to add a var like device = "isMobile" or "isTablet" or something like that to make it possible to have device info and react to that.

I wonder how you think of this, maybe you have advice to handle mobile and tablet in the same code base with different views?

Thanks for you time, Daniel

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

1 participant