javascript - app-header doesn't hide Polymer 2.0 -
i've got problem since migrate polymer 2.0, app-header
doesn't want hide exemple app-drawer
same attribute value. here code:
<app-header slot="header" fixed shadow effects="waterfall" hidden$=[[!storeduser.loggedin]]> <app-toolbar> <div class="header--menu header--menu__size"> <paper-button drawer-toggle> <iron-icon icon="menu" drawer-toggle></iron-icon> </paper-button> </div> <div class="header--title" main-title>test</div> <div class="header--setting header--setting__size"> <paper-button on-tap="_logout"> <custom-icon iconset="ci-login" icon="normal"></custom-icon> <span>[ [[localize('logout')]] ]</span> </paper-button> </div> </app-toolbar> </app-header>
if want more info / code don't hesitate.
thanks
Comments
Post a Comment