akutil-common
Advanced tools
Comparing version 2.4.3 to 2.4.4
@@ -1,6 +0,16 @@ | ||
<a name="2.4.3"></a> | ||
## 2.4.3 (2016-09-08) | ||
<a name="2.4.4"></a> | ||
## 2.4.4 (2016-09-17) | ||
<a name="akutil-common@2.4.4"></a> | ||
## akutil-common@2.4.4 (2016-09-17) | ||
### Bug Fixes | ||
* Do not use shadowRoot symbol ([45a8d3c](https://bitbucket.org/atlassian/atlaskit/commits/45a8d3c)) | ||
<a name="akutil-common@2.4.3"></a> | ||
@@ -12,2 +22,3 @@ ## akutil-common@2.4.3 (2016-09-08) | ||
* **component:** Fix on container name overflow and container link overflow ellipsis ([d2b733d](https://bitbucket.org/atlassian/atlaskit/commits/d2b733d)) | ||
* keypress handler now passes on event object ([0c53584](https://bitbucket.org/atlassian/atlaskit/commits/0c53584)) | ||
@@ -14,0 +25,0 @@ |
{ | ||
"name": "akutil-common", | ||
"version": "2.4.3", | ||
"version": "2.4.4", | ||
"description": "", | ||
@@ -22,2 +22,3 @@ "main": "dist/bundle.js", | ||
"devDependencies": { | ||
"akutil-common-test": "^1.5.1", | ||
"custom-event-polyfill": "^0.3.0" | ||
@@ -24,0 +25,0 @@ }, |
@@ -17,16 +17,20 @@ # AtlasKit common utilities | ||
| --- | --- | --- | | ||
| key | String | A named key. Case insensitive. | | ||
| callback | function | A callback function to invoke if the given key was activated. The callback is passed the event object. | | ||
| [elem] | Node | The element to listen for the key activation. Defaults to document if none given. | | ||
| key | <code>String</code> | A named key. Case insensitive. | | ||
| callback | <code>function</code> | A callback function to invoke if the given key was activated. The callback is passed the event object. | | ||
| [elem] | <code>Node</code> | The element to listen for the key activation. Defaults to document if none given. | | ||
<a name="KeyPressHandler+add"></a> | ||
### `keyPressHandler.add(key, callback)` | ||
Adds or replaces a key that is listened for. | ||
**Kind**: instance method of KeyPressHandler | ||
**Kind**: instance method of <code>[KeyPressHandler](#KeyPressHandler)</code> | ||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| key | String | A named key. Case insensitive. Replaces any previous listened key. | | ||
| callback | function | The callback function to invoke. | | ||
| key | <code>String</code> | A named key. Case insensitive. Replaces any previous listened key. | | ||
| callback | <code>function</code> | The callback function to invoke. | | ||
<a name="KeyPressHandler+destroy"></a> | ||
### `keyPressHandler.destroy([key])` | ||
@@ -36,7 +40,6 @@ Removes a key from the list of listened keys. | ||
**Kind**: instance method of KeyPressHandler | ||
**Kind**: instance method of <code>[KeyPressHandler](#KeyPressHandler)</code> | ||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| [key] | String | A named key. Case insensitive. If none given, event listener is removed. | | ||
| [key] | <code>String</code> | A named key. Case insensitive. If none given, event listener is removed. | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80336
43
2