UNPKG

website-auditfy

Version:

> Tool for validate your project on SEO, HTML, CSS, JS, TS, Performance, Security and A11Y

19 lines 896 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LargestContentfulPaintElementRule = void 0; const lighthouse_helper_1 = require("../../../linters/lighthouse.helper"); class LargestContentfulPaintElementRule { constructor(dom, lightHouse) { this.id = 'largest-contentful-paint-element'; this.tags = ['performance']; this.description = 'Largest Contentful Paint element'; this.ruleUrl = 'https://developer.chrome.com/docs/lighthouse/performance/lighthouse-largest-contentful-paint/'; this.dom = dom; this.lightHouse = lightHouse; } check() { return lighthouse_helper_1.LighthouseHelper.identifyRule(this.id, this.ruleFlow, this.lightHouse); } } exports.LargestContentfulPaintElementRule = LargestContentfulPaintElementRule; //# sourceMappingURL=largest-contentful-paint-element.rule.js.map