I’ve been researching how to create a Pane for displaying the output from a process that I run. I’ve been able to get the output to display but when the content goes beyond the bounds of the Pane I am unable to scroll. I’ve tried adding registration for the ‘core:move-down’ (etc) events to the view component but it doesn’t work. I don’t see the event when I hit the down arrow. I’ve tried capturing the ‘click’ event using atom.commands.add(…) and this works.
I know there are a few different approaches to developing UI components in Atom. It appears using the HTMLElement approach is the path of least resistance.
- Is there any documentation on the Event Model used within Atom?
- Pane-element has a model property. Should item-views under atom-panes be extending the model property?
- Is there some sort of MVC or MVVC going on here?
I appreciate any help folks can give me. I’m wondering if I created a document (addendum) for the flight manual walking developers through the basics of how to create a component using the HTMLElement approach would be useful?
Even though there are multiple approaches to developing UI components, I think it is difficult to understand how to build your own packages without some sort of initial roadmap. This does not mean Atom is endorsing one method above another and the document could be extended to provide instructions for different approaches.