-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
This issue was originally filed by [email protected]
One thing I would like to see, is having the dom api's being documentated in the dart language. Of course, mdn is a great source, but personally I do much coding offline in the train, and even if I'm online, I love the ability to having the documentation and the code side by side in the IDE, instead of googling everything.
Now, I see that typescript has also started the task of documentating the dom apis. Just like for dart:html, it isn't complete, but it has a bit more covered currently I think. See the screenshot for an example.
This is the file that typescript uses: https://github.com/Microsoft/TypeScript/blob/master/bin/lib.dom.d.ts
I think about copying the typescript documentation into the dart sdk, if this is legally possible. I think about doing it by hand, as it would probably be great for learning more about the dom APIs.
I've read this: https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
which doesn't seem that difficult.
Would you guys appreciate a documentation pull request where I use the documentation from https://github.com/Microsoft/TypeScript/blob/master/bin/lib.dom.d.ts ?
Attachment:
documentation.png (57.27 KB)