Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49186

Remove dynamically added class in sidebar menu template

$
0
0

@Haxeb wrote:

This is how my app works.
1. When a user opens the app, he will lands into app.login
2. After successful login, user redirects to app.home

My Problem.

  1. I have implemented the script to hide the back Button from "app.home" , but left button(which would reveal left side menu) is hided.
    Here is my code in app.home.
    <<ion-view hide-back-button="true">
    <ion-nav-buttons side="left">
    <button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
    </ion-nav-buttons>
    <ion-view view-title="Home">
    <ion-content>
    You're Home.
    </ion-content>
    </ion-view>
    </ion-view>

When i went through the code, a hide class has automatically added to left button, that made it to hide.

<span class="left-buttons">
            <button class="button button-icon button-clear ion-navicon hide" menu-toggle="left">
            </button>
        </span>

How to make appear the left button ??

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>