Browse Source

Popper: Add missing doc in isModifierRequired

Liril 8 năm trước cách đây
mục cha
commit
0c126c6f87
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/utils/popper.js

+ 2 - 1
src/utils/popper.js

@@ -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) {