我想在core-scaffold中禁用抽屉面板。我想在脚手架工具栏中禁用menubutton。我怎么能这样做?
<core-scaffold id="scaffold">
<core-header-panel id="headerpanel" navigation flex mode="seamed">
<core-toolbar id="core_toolbar">{{menuheading}}</core-toolbar>
<core-menu id="coremenu" theme="core-light-theme" selected="{{route}}" valueattr="data-route" on-core-select="{{menuItemSelected}}">
<core-item data-route="anasayfa" icon="home" label="AnaSayfa"><a href="/anasayfa"></a></core-item>
<core-item data-route="kisisel" icon="account-box" label="Kişisel Bilgiler"><a href="/kisisel"></a></core-item>
<core-item data-route="adres" id="adresitem" icon="room" label="Adres İşlemleri"><a href="/adres"></a></core-item>
<core-item id="guzergahitem" icon="explore" label="Güzergah Görüntüle" data-route="guzergah"><a href="/guzergah"></a></core-item>
<core-item id="favoriguzergahitem" data-route="favori" icon="favorite" label="Favori Güzergah İşlemleri"><a href="/favori"></a></core-item>
<core-item id="cikis" icon="settings-power" label="Çıkış"></core-item>
</core-menu>
</core-header-panel>
答案 0 :(得分:0)
试试这个......
<core-drawer-panel id="drawerPanel" narrow="{{narrow}}" drawerWidth="{{drawerWidth}}" rightDrawer="{{rightDrawer}}" responsiveWidth="{{responsiveWidth}}" disableSwipe="{{disableSwipe}}">
disableSwipe: true,
Try this also...
mode: {value: 'seamed', reflect: true}