react-youtube-playlist
Version:
A react component for displaying the contents of a user's YouTube playlist.
15 lines (12 loc) • 517 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = function (doc) {
return Math.max(doc.documentElement.offsetHeight || 0, doc.height || 0, doc.body.scrollHeight || 0, doc.body.offsetHeight || 0);
};
module.exports = exports["default"]; /**
* Get the height of the document
*
* @returns {documentHeight: number}
*/