I have been looking everywhere trying to figure out the API that is expected when using addOpener(). I have seen people mention the
html-tab package and that shows a fairly simple view class but it doesn’t answer several questions (and space-pens documentation is sorely lacking).
- What are the lifecycle methods for the returned opener object? I know about
getViewClass(), and the others mentioned in the tutorial and
html-tabpackage, but I would like a comprehensive list.
- If I use the
getViewClass()lifecycle method how do I access the instance? The
space-pendocs say you can call methods on instantiated views, but how do I gain access to an instantiated view?
I am growing increasingly frustrated with Atom’s documentation and their tendency to move away from simple clean technologies like CoffeeScript and space-pen in favor of more complicated things like TypeScript and …whatever is taking space-pens place (can’t even find a name for it). It’s as if they can’t make up their minds on anything (probably a pitfall of open-source programming).