i am currently developing an windows store app on the platform of JavaScript, I have added a button in the app bar.
If the button is clicked, it should be open fb.me/mypage
. I dunno how to do this ? help me out.
HTML CODE:
<div id="appBar" data-win-control="WinJS.UI.AppBar" data-win-options="">
<button
data-win-control="WinJS.UI.AppBarCommand"
data-win-options="{id:'button1',label:'Like Us',icon:'like',
section:'selection',tooltip:'Like us'}">
</button>
</div>