@digital-nature-ltd/carbon-lite
Version:
A simple tool to reduce the carbon usage of your website by blanking out the screen after a period of inactivity
1 lines • 592 B
Source Map (JSON)
{"version":3,"file":"CarbonLiteElement.mjs","sources":["../../src/elements/CarbonLiteElement.ts"],"sourcesContent":["export class CarbonLiteElement extends HTMLElement {\r\n configure(message: string) {\r\n this.innerHTML = `\r\n <div>\r\n ${message}\r\n </div>\r\n `;\r\n }\r\n}\r\ncustomElements.define('carbon-lite', CarbonLiteElement);"],"names":[],"mappings":"AAAM,MAAO,iBAAkB,SAAQ,WAAW,CAAA;AAC9C,IAAA,SAAS,CAAC,OAAe,EAAA;QACrB,IAAI,CAAC,SAAS,GAAG,CAAA;;cAEX,OAAO,CAAA;;SAEZ;IACL;AACH;AACD,cAAc,CAAC,MAAM,CAAC,aAAa,EAAE,iBAAiB,CAAC;;;;"}