datacamp / datacamp/datacamp-light
DCL.instance initiliaze? Other than window.load
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 366
- Avg merge
- 2h 17m
- Merged PRs (30d)
- 2
Description
Is there any other way to initialize the dcl.instances? I always have to write my functions on window.load methods. I wanna initialize by calling my custom functions.
window.onload = function () {
DCL.instances["my_dc_id"].on("feedback", function(payload) {
//does something here
}); }
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names DCL.instances and window.onload but no source files or tests. Start by locating the TypeScript code that initializes DCL.instances and handles the window load lifecycle. Done would require a supported callable initialization path, with the feedback-listener usage documented or tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100