mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-30 03:07:36 +08:00
Popper: Add missing doc in isModifierRequired
This commit is contained in:
parent
9a9a661290
commit
0c126c6f87
@ -575,9 +575,10 @@
|
||||
* Helper used to know if the given modifier depends from another one.
|
||||
* @method
|
||||
* @memberof Popper
|
||||
* @param {String} requesting - name of requesting modifier
|
||||
* @param {String} requested - name of requested modifier
|
||||
* @returns {Boolean}
|
||||
*/
|
||||
|
||||
Popper.prototype.isModifierRequired = function(requesting, requested) {
|
||||
var index = getArrayKeyIndex(this._options.modifiers, requesting);
|
||||
return !!this._options.modifiers.slice(0, index).filter(function(modifier) {
|
||||
|
Loading…
Reference in New Issue
Block a user