我想製作一個紙張抽屜面板,其左側有一個菜單按鈕,用於打開抽屜式導航欄。因此,在主樑板我添加的按鈕,就像聚合物文檔中:聚合物紙圖標按鈕不顯示圖像
<paper-header-panel main>
<paper-toolbar>
<paper-icon-button icon="menu" paper-drawer-toggle></paper-icon-button>
<div>Extracurricular Activities</div>
</paper-toolbar>
<!-- main content -->
</paper-toolbar>
</paper-header-panel>
的問題是,菜單按鈕沒有圖像,但我正確地包括紙張圖標按鈕。當我點擊按鈕所在的地方時,我可以選擇一種正常的波紋效果,並且抽屜打開,所以按鈕必須在那裏。
Here is a screenshot of the header, the menu button should be at the left of the header text
沒有任何人有一個想法是什麼,我做錯了什麼?
您是否嘗試過在chrome開發工具中查看網絡日誌? –
是的,圖標文件沒有列出... –