Skip to content

@angular/flex-layout #819

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

Closed
buu700 opened this issue May 25, 2017 · 4 comments
Closed

@angular/flex-layout #819

buu700 opened this issue May 25, 2017 · 4 comments
Labels

Comments

@buu700
Copy link

buu700 commented May 25, 2017

Haven't heard back on angular/flex-layout#285 yet, so figured I may as well start a complementary issue thread here. It'd be great if there could be some sort of collaboration to get flex-layout running on NativeScript.

@NickIliev
Copy link

Hey @buu700 we have already implemented a FlexBoxLayout for NativeScript Angular. That said it is not our priority to implement features that already has related modules created in NativeScript but of course NativeScript is open source and each community member may become a contributor and provide a solution if applicable.

@buu700
Copy link
Author

buu700 commented May 26, 2017

Thanks Nick. I know that FlexBoxLayout exists, but my thinking here is that making the exact same API in NativeScript (rather than just a similar one) would go a long way toward making it easy to port existing web templates to native.

@NickIliev
Copy link

@buu700 with the initial state of @angular/flex-layout it would again require a NativeScript wrapper so we could handle the DOM related aspects. Which is like recreating the FlexboxLayout again.

Even if the @angular/flex-layout become DOM-free as discussed here it will be one step closer but then again any layout needs to be translated to the native mobile layout so it would again require wrapper. Of course resolving the DOM issue is a step closer

@buu700
Copy link
Author

buu700 commented May 31, 2017

Got it, thanks for the explanation! In that case, it sounds like something like this would be better implemented from scratch as a flex-layout-compatible wrapper on top of FlexBoxLayout?

Ultimately it's not critical, but the responsive features of flex-layout and increased ease of porting web templates would be nice to have.

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

No branches or pull requests

2 participants