Atom package Pane Item Control Helper
This package assign any element has class enable-pane-item-control-helper
a special command to control the pane item which contains that element:
package-pane-item-control-helper:close-if-accepted
for.enable-pane-item-control-helper.check-before-close
package-pane-item-control-helper:close
for.enable-pane-item-control-helper.able-to-be-closed
Some packages which supports this package
Honestly, there's only one, not 'some' (Forever alone 😢)
So, if you want to list your package here, please request
How to supports this package in my package?
package-pane-item-control-helper:close-if-accepted
to an element
Assigning - The element must mark the query above
- The element must have a method named
getPaneItem
which returns a Pane Item that should be considered to be close - The Pane Item which is return value of
element.getPaneItem()
must have a method namedacceptToBeClosed
that returns aboolean
package-pane-item-control-helper:close
to an element
Assigning - The element must mark the query above
- The element must have a method named
getPaneItem
which returns a Pane Item that should be closed