html、javascript、cssを使用してメトロスタイルのWindows8アプリを開発しています。
アプリケーションの下部にあるアプリバーを使用しています。以下はhtmlコードです。
<div id="appbarbottom" data-win-control="WinJS.UI.AppBar" data-win-options="{layout:'custom',placement:'bottom'}">
<button id="playerBut" data-win-control="WinJS.UI.AppBarCommand" data-win-options="{section:'global',label:'Player', icon:'placeholder',type:'flyout',flyout:sportsFlyout}" type="button"></button>
</div>
section:'global'
私はそれが右側のボタンを作ると言った公式文書をラッドしました。私はそれをしましたが、効果はありません。
試してみましsection:'selection'
たが、左側にボタンが残っています
私は別の解決策を探しましたが、誰もが同じことを言っているので、どうすれば私の目標を達成できますか。
ありがとうございました。