Tablet CSS in Ionic 4

Asked

Viewed 29 times

0

Good afternoon, How can I make a css for mobile and tablet? I need to separate, prq on a given screen the menu should be presented and other not.

  • Your question was not very clear. You need it to be exclusively with Ionic methods, explain better the reality of the situation you need to control the element

  • Good morning, I need a way to q the menu created by the Ionic template, do not appear on the login screen, and if possible, I would like it to always work the same way, closed and being accessed by the burger.

  • In the documentation you find the method that disables or activates the menu: this.menu.enable(false/true); https://ionicframework.com/docs/api/menu - It does not need to be in CSS. When you enter the page, you disable or activate it.

  • Thank you so much for your help, it worked.

  • Just one more question, in ion-splt-pane has a parameter when="Xl" for example. There is the possibility to create eg xxl with a different value?

  • I do not know if it is possible to create a new value, however, you can change the existing value Xl, read more about

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.