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-acceptedfor.enable-pane-item-control-helper.check-before-closepackage-pane-item-control-helper:closefor.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?
Assigning package-pane-item-control-helper:close-if-accepted to an element
- The element must mark the query above
- The element must have a method named
getPaneItemwhich 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 namedacceptToBeClosedthat returns aboolean
Assigning package-pane-item-control-helper:close to an element
- The element must mark the query above
- The element must have a method named
getPaneItemwhich returns a Pane Item that should be closed