yoastseo
Version:
Yoast client-side content analysis
18 lines (17 loc) • 438 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
/**
* Check the width of the title in pixels
* @param {Paper} paper The paper object containing the title width in pixels.
* @returns {number} The width of the title in pixels
*/
function _default(paper) {
if (paper.hasTitle()) {
return paper.getTitleWidth();
}
return 0;
}
//# sourceMappingURL=pageTitleWidth.js.map