Ionic showWhen Directive

ā€œA question came up on the Ionic Forum asking if there was a prebuilt class to hide a div or column on a mobile screen. As an example, showing content on a tablet but hiding it on a smart phone. For its side menu directive, Ionic has a expose-aside-when attribute which is another directive that allows you to pass in a media query (or the word large which maps to a media query) that decides whether to show the side menu as a second column or behave as a side menu.ā€

1 Like