draft-js-mention-plugin
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -8,2 +8,8 @@ # Change Log | ||
## 1.1.0 - 2016-05-27 | ||
### Added | ||
- `MentionSuggestions` now accepts `onOpen`and `onClose` props. These callbacks are triggered when the popover has opened or closed. | ||
## 1.0.2 - 2016-05-24 | ||
@@ -10,0 +16,0 @@ |
@@ -241,2 +241,6 @@ 'use strict'; | ||
}); | ||
if (_this.props.onOpen) { | ||
_this.props.onOpen(); | ||
} | ||
}, _this.closeDropdown = function () { | ||
@@ -256,2 +260,6 @@ // make sure none of these callbacks are triggered | ||
}); | ||
if (_this.props.onClose) { | ||
_this.props.onClose(); | ||
} | ||
}, _temp), _possibleConstructorReturn(_this, _ret); | ||
@@ -258,0 +266,0 @@ } |
{ | ||
"name": "draft-js-mention-plugin", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "Mention Plugin for DraftJS", | ||
@@ -5,0 +5,0 @@ "author": { |
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
45539
835