Hello,
So I am building a widget and I would like that when I click a button in my widget to open another on-screen panel with my on html content. I need to drag and close this panel. Is this possible?
Thanks!
Solved! Go to Solution.
Madalin,
Sure you just need to create a jimu/dijit/Popup from your button click. Here is a sample snippet:
this.myPopup = new Popup({
titleLabel: "my title",
autoHeight: true,
content: this.serviceChooserContent.domNode,
container: 'main-page',
width: 640
});
Madalin,
Sure you just need to create a jimu/dijit/Popup from your button click. Here is a sample snippet:
this.myPopup = new Popup({
titleLabel: "my title",
autoHeight: true,
content: this.serviceChooserContent.domNode,
container: 'main-page',
width: 640
});
Ok this works. Thanks a lot.