HelloZeroNet / HelloZeroNet/ZeroNet
Load Js In Modal
- Ngôn ngữ chính
- JavaScript
- Star
- 18.8k
- Fork
- 2.3k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I want a script reference to be loaded in Modal to use its functionality
I have tried to put in the modal.cshtml but it is not working
My Modal opening code is as seen below
_createModal = new app.ModalManager({
ViewUrl: abp.appPath + 'path',
scriptURL: abp.appPath + 'js path',
modalClass: 'class'
})
and then opening modal with this command
_createModal.open().
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start with the modal.cshtml example and trace how app.ModalManager handles the scriptURL option when _createModal.open() is called. Reproduce the reported failure using the provided modal configuration and determine whether the referenced script becomes available in the modal; done means the requested script functionality works when the modal opens.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- frontend
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100