API
module.exports(sourceRect, popupRect, boundsRect, options) method
Return the optimum layout for the popup element with respect to a source element that fits in the given bounds.
Parameters:
- sourceRect:
DOMRect– - popupRect:
DOMRect– - boundsRect:
DOMRect– - options:
any–