how to refresh my office JS add-in side panel using javascript code ? I want when when I click on on this button in my add-in side panel refresh my add-in side panel
<button onclick="Refresh()">Refresh</button>
this is very esay to refrsh your add-in on button click
<button onclick="Refresh()">Refresh</button>
//js
function Refresh(){
location.reload();
}