I’'ve been playing around with DocumentJS and using it to document components.
I’ve figured that you can use the @prototype tag for methods on the component viewModel, but I’m not really sure of the best way to document properties in the define object, since I want them to be visibly separated from the prototype section etc.
In addition, some of the components might emit events, so it would be nice to group those also.