Skip to content

Can provide a ion-content demo ? #26

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
btpka3 opened this issue Dec 11, 2017 · 2 comments
Closed

Can provide a ion-content demo ? #26

btpka3 opened this issue Dec 11, 2017 · 2 comments

Comments

@btpka3
Copy link

btpka3 commented Dec 11, 2017

Found this greet git repo when try to fix ionic + angular cli + url hashing + angular router. Routing works ok, but found could not using ion-content.

ion-content + ion-nav seems combined tightly, and some other ionic component ( such as FABs etc)

Had not tried @angular/flex-layout yet, do you had considerd to useion-content , or any other layout components?

---updated :
Found ionic team begin to do some investigations in milestone @ionic/angular 4.0.0, such as:

Hope these can be implemented in ionic 4.x.

@jvitor83
Copy link
Owner

@btpka3 sorry by the delay.
I don't get it! What do you mean by "use ion-content"?
If you see my https://github.com/jvitor83/angular-pwa-seed/blob/master/src/app/layout/menu/menu.component.html , i am using the ion-content.

About the tight coupling, you are right. "Some" Ionic components are tight coupled at NavController. Some of them you can fake some properties to make it work and use the events to get your expected behaviour, like i did with the ion-tab at https://github.com/jvitor83/angular-pwa-seed/blob/master/src/app/layout/layout-tab.component.ts#L20, by setting [root]="dummyTab".

Anyway, i got no problem in using the ion-content or AngularRouter yet!

@btpka3
Copy link
Author

btpka3 commented Dec 22, 2017

Thanks for the link. (I should avoid trouble you by using github search first~)

I got layout problems for responsive layout when using ionic ion-content、NavController related directives . I'll checkout that code.

@btpka3 btpka3 closed this as completed Dec 22, 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

No branches or pull requests

2 participants