Closed app-generator closed 1 year ago
Noted!
@app-generator the DNDBuilder error occurs before the popover toggle method is called, hence causing the popover to not toggle.
Yep, the type is not defined in that scope.
Moreover, we have this Constructor in the index.ts
:
new DNDBuilder(
{
dropContainer: "dropzone",
dropIndicator: "drop-here-indicator",
},
{
actionPreview: "#action_preview",
actionDownload: "#action_download",
actionDeploy: "#action_deploy",
closeModal: "#closeModal",
fullScreenOption: "#fullScreenOption",
tabletOption: "#tabletOption",
mobileOption: "#mobileOption",
deployForm: "#deployForm",
}
);
In fact, the C-tor should be exposed by the library and called in the PAGE (script tag).
@yurec133 The current implementation might require some fixes. Please take a look.
var builder = new DNDBuilder({ dropContainer: 'dropzone', dropIndicator: 'drop-here-indicator' }); do not need to be used in index.html new DNDBuilder remove it from index.html
new DNDBuilder should be used only when using npm package
@yurec133 please take a look at the updated implementation and share your feedback. Thanks! Closing this one.
Context
The Deployment popup should provide minimal help to the user.
@umarali please take a look.
TY!